summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-26 07:34:58 +0000
commit10b6037624b93a4f6fa71cfab8dee2e24d6c3565 (patch)
tree6ffdec80010403fc22d47cab2ce165a70db9f9a3 /meta/classes
parent86d7e446c77ed93818afb4be7e4d5bf16ae513f5 (diff)
downloadpoky-10b6037624b93a4f6fa71cfab8dee2e24d6c3565.tar.gz
uninative: ensure patchelf errors are visible
(From OE-Core rev: 9840bfbe7d860bdb7ad9ac444a82f95510d48c2d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 d3208e71a9..b045a2818b 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -130,7 +130,8 @@ python uninative_changeinterp () {
130 130
131 try: 131 try:
132 subprocess.check_output(("patchelf-uninative", "--set-interpreter", 132 subprocess.check_output(("patchelf-uninative", "--set-interpreter",
133 d.getVar("UNINATIVE_LOADER", True), f)) 133 d.getVar("UNINATIVE_LOADER", True), f),
134 stderr=subprocess.STDOUT)
134 except subprocess.CalledProcessError as e: 135 except subprocess.CalledProcessError as e:
135 bb.fatal("'%s' failed with exit code %d and the following output:\n%s" % 136 bb.fatal("'%s' failed with exit code %d and the following output:\n%s" %
136 (e.cmd, e.returncode, e.output)) 137 (e.cmd, e.returncode, e.output))