]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs.py: show intercept script output in log.do_rootfs
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 4 Sep 2015 18:56:24 +0000 (20:56 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Sep 2015 18:21:52 +0000 (19:21 +0100)
* without this the output wasn't shown anywhere even when the bb.warn
  says:
  "See log for details!"

(From OE-Core master rev: a3c322b42c7a14584a80e04519c34689ec813210)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py

index d2de2c68ea6c8153e9c8c334562b835ef7c5b371..15ad6421630ca25795a2c014e6d8ce16112f447c 100644 (file)
@@ -229,7 +229,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))