mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
lib/oe/qa: add explicit exception for 'file isn't an ELF'
(From OE-Core rev: 4c1fe0cbcb98b0a69ad5b3a04432055d773ee4ba) 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
4553bb1b88
commit
4495e8bae0
@@ -80,7 +80,7 @@ python uninative_changeinterp () {
|
||||
elf = oe.qa.ELFFile(f)
|
||||
try:
|
||||
elf.open()
|
||||
except ValueError:
|
||||
except oe.qa.NotELFFileError:
|
||||
continue
|
||||
|
||||
#bb.warn("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f))
|
||||
|
||||
Reference in New Issue
Block a user