summaryrefslogtreecommitdiffstats
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-09 14:27:46 +0100
commit79bf3f7155e00b96bd205c5bd844cc91ab2e9553 (patch)
tree0be09b26b973e8ff661178794986aedde16358e4
parent525979f3f68f85d9b590632dc181b7038b1ed7ee (diff)
downloadpoky-79bf3f7155e00b96bd205c5bd844cc91ab2e9553.tar.gz
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>
-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 692edb1e29..ba62273c64 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -278,7 +278,7 @@ class Rootfs(object):
278 bb.note("> Executing %s intercept ..." % script) 278 bb.note("> Executing %s intercept ..." % script)
279 279
280 try: 280 try:
281 subprocess.check_output(script_full) 281 subprocess.check_call(script_full)
282 except subprocess.CalledProcessError as e: 282 except subprocess.CalledProcessError as e:
283 bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" % 283 bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" %
284 (script, e.returncode)) 284 (script, e.returncode))