mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
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) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
525979f3f6
commit
79bf3f7155
@@ -278,7 +278,7 @@ class Rootfs(object):
|
|||||||
bb.note("> Executing %s intercept ..." % script)
|
bb.note("> Executing %s intercept ..." % script)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_output(script_full)
|
subprocess.check_call(script_full)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" %
|
bb.warn("The postinstall intercept hook '%s' failed (exit code: %d)! See log for details!" %
|
||||||
(script, e.returncode))
|
(script, e.returncode))
|
||||||
|
|||||||
Reference in New Issue
Block a user