classes/populate_sdk_ext: drop duplicated error message

The preparation script itself prints out an error on failure, and we
aren't redirecting its output anymore, so we no longer need to print out
a message here when it fails. At the same time, make the message printed
out by the script a little clearer - we're just writing the log out to
the file, we shouldn't give the user an expectation that there will be
extra details in there (other than the output produced by
oe-init-build-env there won't be).

(From OE-Core rev: 80dfaf40e087b34d6360188df372c1c3805a00bd)

Signed-off-by: Paul Eggleton <paul.eggleton@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:
Paul Eggleton
2016-08-11 16:45:07 +12:00
committed by Richard Purdie
parent 64ffbd4869
commit 99d109cdbc
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ def main():
for line in f:
logf.write(line)
if ret:
print('ERROR: SDK preparation failed: see %s' % logfile)
print('ERROR: SDK preparation failed: error log written to %s' % logfile)
return ret
if __name__ == "__main__":