diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2016-02-29 08:50:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-02 22:39:43 +0000 |
commit | 674e55f4169de8080b8453f951a4f68fc4b3fcd8 (patch) | |
tree | 9206437f91a8fda960444043e5c8fc8792e35b44 /meta | |
parent | d8acef272d18b120a8363df1e90743693e5713be (diff) | |
download | poky-674e55f4169de8080b8453f951a4f68fc4b3fcd8.tar.gz |
populate_sdk_ext: Delete the buildtools tar file after installation
When installing the ext sdk, buildtools is extracted and installed as
well. The tar file containing buildtools isn't used after installation
so was wasted space and clutter.
[YOCTO #9172]
(From OE-Core rev: 0dc7d3179a605c10987ee836dd179ffeb14d0ba5)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 27d4afc26b..1f0621489f 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -313,6 +313,9 @@ sdk_ext_postinst() { | |||
313 | cd $target_sdk_dir | 313 | cd $target_sdk_dir |
314 | printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null || ( printf 'ERROR: buildtools installation failed\n' ; exit 1 ) | 314 | printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null || ( printf 'ERROR: buildtools installation failed\n' ; exit 1 ) |
315 | 315 | ||
316 | # Delete the buildtools tar file since it won't be used again | ||
317 | rm ./*buildtools-nativesdk-standalone*.sh -f | ||
318 | |||
316 | # Make sure when the user sets up the environment, they also get | 319 | # Make sure when the user sets up the environment, they also get |
317 | # the buildtools-tarball tools in their path. | 320 | # the buildtools-tarball tools in their path. |
318 | env_setup_script="$target_sdk_dir/environment-setup-${REAL_MULTIMACH_TARGET_SYS}" | 321 | env_setup_script="$target_sdk_dir/environment-setup-${REAL_MULTIMACH_TARGET_SYS}" |