diff options
author | Ross Burton <ross.burton@intel.com> | 2016-02-24 13:31:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:32:59 +0000 |
commit | 4495e8bae03a96d5ae55e588309fa2cdf7e9f4a5 (patch) | |
tree | 7333d34d0f423209064a796d38ad161510d60075 /meta/classes/uninative.bbclass | |
parent | 4553bb1b882736b2fc582836c387661f7239a9c3 (diff) | |
download | poky-4495e8bae03a96d5ae55e588309fa2cdf7e9f4a5.tar.gz |
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>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r-- | meta/classes/uninative.bbclass | 2 |
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 () { | |||
80 | elf = oe.qa.ELFFile(f) | 80 | elf = oe.qa.ELFFile(f) |
81 | try: | 81 | try: |
82 | elf.open() | 82 | elf.open() |
83 | except ValueError: | 83 | except oe.qa.NotELFFileError: |
84 | continue | 84 | continue |
85 | 85 | ||
86 | #bb.warn("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f)) | 86 | #bb.warn("patchelf-uninative --set-interpreter %s %s" % (d.getVar("UNINATIVE_LOADER", True), f)) |