aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/uninative.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-03-24 15:43:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-25 10:28:03 +0000
commit9840bfbe7d860bdb7ad9ac444a82f95510d48c2d (patch)
tree97e99daeba068a17717f74d7f919ab21d53c52e5 /meta/classes/uninative.bbclass
parente533e634f2ac757311f7888e764227ccdc5b0de1 (diff)
downloadopenembedded-core-contrib-9840bfbe7d860bdb7ad9ac444a82f95510d48c2d.tar.gz
uninative: ensure patchelf errors are visible
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r--meta/classes/uninative.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index d3208e71a94..b045a2818be 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))