]> code.ossystems Code Review - openembedded-core.git/commit
package_deb, ipk: improve subprocess output on package manager command
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Mon, 4 Sep 2017 21:35:47 +0000 (14:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 16:30:10 +0000 (17:30 +0100)
commit9ff023fb26f5f0ce19e757beda00ccc32c009b21
treeae7347930866e918f8ee985f603057f8170e1a34
parentd0a123ec564f6d36977e472f8bc63f9c050ee616
package_deb, ipk: improve subprocess output on package manager command

Redirecting stderr to stdout helps debugging issues, i.e instead of just
getting the return code, get also the error log from the pkg manger
This commit is in the way to figure out the root cause of [YOCTO #12012],
where dpkg-deb fails with a 2 return code and according to the man page,
there are multiple issues leading to the same code.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/package_deb.bbclass
meta/classes/package_ipk.bbclass