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-19 11:51:34 +0100 |
commit | 915498e23033105bfacd1e1a0c083b7983a2d47e (patch) | |
tree | ebc831002a248ea36f1bd14f5e255b2d9e8615ed | |
parent | 8897773fe44e8d4d1007405597978e4f7fac4c5d (diff) | |
download | poky-915498e23033105bfacd1e1a0c083b7983a2d47e.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 rev: a3c322b42c7a14584a80e04519c34689ec813210)
(From OE-Core rev: b708151b798013119cbc651cd11a534c0cb816af)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 bbc37d3522..db8d8f1f46 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -183,7 +183,7 @@ class Rootfs(object): | |||
183 | bb.note("> Executing %s intercept ..." % script) | 183 | bb.note("> Executing %s intercept ..." % script) |
184 | 184 | ||
185 | try: | 185 | try: |
186 | subprocess.check_output(script_full) | 186 | subprocess.check_call(script_full) |
187 | except subprocess.CalledProcessError as e: | 187 | except subprocess.CalledProcessError as e: |
188 | bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" % | 188 | bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" % |
189 | (script, e.returncode)) | 189 | (script, e.returncode)) |