On Sat, 15 Dec 2018 at 12:59, Jens Rehsack <s...@netbsd.org> wrote:
> +        try:
> +            subprocess.check_output("PATH=\"%s\" dpkg-deb -b %s %s" % 
> (localdata.getVar("PATH"), root, pkgoutdir),
> +                                    stderr=subprocess.STDOUT,

So stderr is redirected to stdout.

> +        except subprocess.CalledProcessError as cpe:
> +            bb.note("%s" % cpe)
> +            bb.note("%s" % cpe.stdout)
> +            bb.note("%s" % cpe.stderr)

So why display both?

Do this as one bb.error and you won't need to re-raise as it will fail.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to