mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d8acef272d
commit
674e55f416
@@ -313,6 +313,9 @@ sdk_ext_postinst() {
|
||||
cd $target_sdk_dir
|
||||
printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null || ( printf 'ERROR: buildtools installation failed\n' ; exit 1 )
|
||||
|
||||
# Delete the buildtools tar file since it won't be used again
|
||||
rm ./*buildtools-nativesdk-standalone*.sh -f
|
||||
|
||||
# Make sure when the user sets up the environment, they also get
|
||||
# the buildtools-tarball tools in their path.
|
||||
env_setup_script="$target_sdk_dir/environment-setup-${REAL_MULTIMACH_TARGET_SYS}"
|
||||
|
||||
Reference in New Issue
Block a user