aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-09-04 20:56:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-19 11:51:13 +0100
commitb708151b798013119cbc651cd11a534c0cb816af (patch)
treee2c4e2e4878e80c2aeb4a358a7e4dafe5fd4fbe6
parent05af103b9b9141319644cde452afbe73e4c2d226 (diff)
downloadopenembedded-core-b708151b798013119cbc651cd11a534c0cb816af.tar.gz
openembedded-core-b708151b798013119cbc651cd11a534c0cb816af.tar.bz2
openembedded-core-b708151b798013119cbc651cd11a534c0cb816af.zip
rootfs.py: show intercept script output in log.do_rootfs
* without this the output wasn't shown anywhere even when the bb.warn says: "See log for details!" (From OE-Core rev: a3c322b42c7a14584a80e04519c34689ec813210) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
-rw-r--r--meta/lib/oe/rootfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index bbc37d3522..db8d8f1f46 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -183,7 +183,7 @@ class Rootfs(object):
bb.note("> Executing %s intercept ..." % script)
try:
- subprocess.check_output(script_full)
+ subprocess.check_call(script_full)
except subprocess.CalledProcessError as e:
bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" %
(script, e.returncode))