]> code.ossystems Code Review - openembedded-core.git/commitdiff
uninative: ensure patchelf errors are visible
authorRoss Burton <ross.burton@intel.com>
Thu, 24 Mar 2016 15:43:46 +0000 (15:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Mar 2016 10:28:03 +0000 (10:28 +0000)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uninative.bbclass

index d3208e71a94f224fc6d550d988502a9573e69cc7..b045a2818befd4456944d9d7f25f7367f5d5c86e 100644 (file)
@@ -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))