aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/uninative.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-02-24 13:31:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:32:35 +0000
commit4c1fe0cbcb98b0a69ad5b3a04432055d773ee4ba (patch)
tree03730b4965db04fc933ee6072d2c0f05bc4d32e1 /meta/classes/uninative.bbclass
parent6e779962f3846cbe5a5cb205f66b9bd9404f6d57 (diff)
downloadopenembedded-core-4c1fe0cbcb98b0a69ad5b3a04432055d773ee4ba.tar.gz
lib/oe/qa: add explicit exception for 'file isn't an ELF'
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r--meta/classes/uninative.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index b14cec065e..7e225e6f15 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -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))