mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
classes/populate_sdk_ext: error out of install if buildtools install fails
If the installation of buildtools fails then we should fail the entire installation instead of blindly continuing on. (From OE-Core rev: 34bb63e6c72fb862e0ef0d2b26e1bfddaf7ddb99) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ecce3d3774
commit
7540550048
@@ -219,7 +219,7 @@ SDK_PRE_INSTALL_COMMAND_task-populate-sdk-ext = "${sdk_ext_preinst}"
|
||||
sdk_ext_postinst() {
|
||||
printf "\nExtracting buildtools...\n"
|
||||
cd $target_sdk_dir
|
||||
printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null
|
||||
printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null || ( printf 'ERROR: buildtools installation failed\n' ; exit 1 )
|
||||
|
||||
# Make sure when the user sets up the environment, they also get
|
||||
# the buildtools-tarball tools in their path.
|
||||
|
||||
Reference in New Issue
Block a user