[oe-commits] Martin Jansa : rootfs.py: show intercept script output in log.do_rootfs

git at git.openembedded.org git at git.openembedded.org
Wed Sep 9 13:54:05 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: a3c322b42c7a14584a80e04519c34689ec813210
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a3c322b42c7a14584a80e04519c34689ec813210

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Fri Sep  4 20:56:24 2015 +0200

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 <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/rootfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 692edb1..ba62273 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))



More information about the Openembedded-commits mailing list