[oe-commits] [openembedded-core] 01/04: uninative: ensure patchelf errors are visible

git at git.openembedded.org git at git.openembedded.org
Fri Mar 25 10:29:56 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9840bfbe7d860bdb7ad9ac444a82f95510d48c2d
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