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-18 19:22:26 +0100
commit174b15c2c027ed6ff9ecc2bdbd02b4bc108b7ff0 (patch)
treed08273f0cf200128f88acc19e6bf9b7fce68717b
parentbb931159ea12556fe633b029803f6f35d62866a0 (diff)
downloadpoky-174b15c2c027ed6ff9ecc2bdbd02b4bc108b7ff0.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 master rev: a3c322b42c7a14584a80e04519c34689ec813210) (From OE-Core rev: 33b9dc43afbf9d201863d4327cd8689582b19070) 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 d2de2c68ea..15ad642163 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -229,7 +229,7 @@ class Rootfs(object):
229 bb.note("> Executing %s intercept ..." % script) 229 bb.note("> Executing %s intercept ..." % script)
230 230
231 try: 231 try:
232 subprocess.check_output(script_full) 232 subprocess.check_call(script_full)
233 except subprocess.CalledProcessError as e: 233 except subprocess.CalledProcessError as e:
234 bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" % 234 bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" %
235 (script, e.returncode)) 235 (script, e.returncode))