mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
86d7e446c7
commit
10b6037624
@@ -130,7 +130,8 @@ python uninative_changeinterp () {
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_output(("patchelf-uninative", "--set-interpreter",
|
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:
|
except subprocess.CalledProcessError as e:
|
||||||
bb.fatal("'%s' failed with exit code %d and the following output:\n%s" %
|
bb.fatal("'%s' failed with exit code %d and the following output:\n%s" %
|
||||||
(e.cmd, e.returncode, e.output))
|
(e.cmd, e.returncode, e.output))
|
||||||
|
|||||||
Reference in New Issue
Block a user