[OE-core] [PATCH 1/3] uninative: ensure patchelf errors are visible
Ross Burton
ross.burton at intel.com
Thu Mar 24 15:43:46 UTC 2016
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
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))
--
2.7.0
More information about the Openembedded-core
mailing list