summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-01 14:08:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-02 00:52:10 +0100
commit55f0493e26881123c6317edfb9dc7af738d3d2d5 (patch)
tree91ef0e1e209bfb79015edcc487a217889bca1780 /meta-skeleton/conf
parentd69a8766521c0cdac509cde61f5c201c92a9f8ba (diff)
downloadpoky-55f0493e26881123c6317edfb9dc7af738d3d2d5.tar.gz
lib/oe/package: Improve filedeprunner subprocess handling
Currently the exit code of the spawned program isn't checked so it can fail and the do_package task will continue merrily upon its way. Use subprocess.check_output() to ensure we check the exit code and redirect stderr to stdout so if it fails, we see the error output. We can then drop the existing exception handling as the subprocess exception gives a much better error. (From OE-Core rev: ce11cb449222bc47fea4f6d66ff1cc7cdc529ab9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton/conf')
0 files changed, 0 insertions, 0 deletions