]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: properly handle buildtools install failure
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 11 Aug 2016 04:45:03 +0000 (16:45 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:32:06 +0000 (10:32 +0100)
commit8fb8adf309823660c3943df973c216621a71850d
tree43db4c3ec7378a6e1df45861bef276c445d6222c
parent2b5b920c6b4f4d5c243192aa75beff402fd704d3
classes/populate_sdk_ext: properly handle buildtools install failure

If the buildtools installation failed, we were using a subshell instead
of a compound command and thus the subshell exited but the script
continued on, which is really not what we want to happen. Additionally
log the buildtools installer output to a file and cat it if it fails so
that you can actually see what went wrong, as well as amending the
environment setup script to print a warning as we do when the
preparation fails.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_ext.bbclass