diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-09-04 20:56:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-09 14:24:58 +0100 |
commit | a3c322b42c7a14584a80e04519c34689ec813210 (patch) | |
tree | 05b46b5bbad95745f5c6d16770886cd4d49c06bf /meta/lib/oe | |
parent | 476f9ab6e37bd516919862835e6e00c960a9e242 (diff) | |
download | openembedded-core-a3c322b42c7a14584a80e04519c34689ec813210.tar.gz openembedded-core-a3c322b42c7a14584a80e04519c34689ec813210.tar.bz2 openembedded-core-a3c322b42c7a14584a80e04519c34689ec813210.zip |
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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/rootfs.py | 2 |
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): 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)) |