[OE-core] [fido][PATCH 2/3] rootfs.py: show intercept script output in log.do_rootfs
Joshua Lock
joshua.lock at collabora.co.uk
Tue Sep 15 16:04:56 UTC 2015
On Thu, 2015-09-10 at 13:54 +0200, Martin Jansa wrote:
> * 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>
Patch queued in my joshuagl/fido-next tree - thanks!
Joshua
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=joshuagl/
fido-next
> ---
> 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 d2de2c6..15ad642 100644
> --- a/meta/lib/oe/rootfs.py
> +++ b/meta/lib/oe/rootfs.py
> @@ -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))
More information about the Openembedded-core
mailing list