From a3c322b42c7a14584a80e04519c34689ec813210 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 4 Sep 2015 20:56:24 +0200 Subject: 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!" Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/lib/oe/rootfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') 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): 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)) -- cgit v1.2.3