diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-12-22 16:19:17 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:44:02 +0000 |
commit | 34bb63e6c72fb862e0ef0d2b26e1bfddaf7ddb99 (patch) | |
tree | 3550bc46b4a64a0305eaacd463b453843c07d87e /meta | |
parent | 6223b73c2dfc326382dbd3c0ae2d7a0cf2cc3b48 (diff) | |
download | openembedded-core-34bb63e6c72fb862e0ef0d2b26e1bfddaf7ddb99.tar.gz openembedded-core-34bb63e6c72fb862e0ef0d2b26e1bfddaf7ddb99.tar.bz2 openembedded-core-34bb63e6c72fb862e0ef0d2b26e1bfddaf7ddb99.zip |
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index a824ca4e4a..85bbaa505c 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass @@ -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. |