From: Joshua Watt Date: Mon, 12 Feb 2018 16:52:07 +0000 (-0600) Subject: toolchain-shar-extract: Add post-relocate scripts X-Git-Tag: uninative-1.8~383 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=93ec145f421a45077b40ae99ee6a96bc11f91f18;p=openembedded-core.git toolchain-shar-extract: Add post-relocate scripts Recipes can now install post-relocation scripts which will be run when the SDK is installed. Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 9bcfe708c7..eeb320d15a 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -116,6 +116,21 @@ fi EOF } +toolchain_create_post_relocate_script() { + script=$1 + rm -f $script + touch $script + + cat >> $script <