[oe-commits] [openembedded-core] 36/39: uninative: ensure patchelf errors are visible
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 24 21:45:41 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 4f82cf79ee58c644ca703bf667ecfc1390b4aab7
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Mar 24 15:43:46 2016 +0000
uninative: ensure patchelf errors are visible
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/uninative.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index d3208e7..b045a28 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -130,7 +130,8 @@ python uninative_changeinterp () {
try:
subprocess.check_output(("patchelf-uninative", "--set-interpreter",
- d.getVar("UNINATIVE_LOADER", True), f))
+ d.getVar("UNINATIVE_LOADER", True), f),
+ stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
bb.fatal("'%s' failed with exit code %d and the following output:\n%s" %
(e.cmd, e.returncode, e.output))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list