uninative: don't try to relocate static binaries
patchelf will understandably error out if there isn't a .interp section to relocate, so don't try to relocate static binaries. (From OE-Core rev: 2a1803e64174825d9392094ae6e680a1ac96eb4a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c3c0d0ac55
commit
07f0af3d33
|
@ -127,6 +127,8 @@ python uninative_changeinterp () {
|
|||
elf.open()
|
||||
except oe.qa.NotELFFileError:
|
||||
continue
|
||||
if not elf.isDynamic():
|
||||
continue
|
||||
|
||||
try:
|
||||
subprocess.check_output(("patchelf-uninative", "--set-interpreter",
|
||||
|
|
Loading…
Reference in New Issue