summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass3
-rw-r--r--meta/classes/uninative.bbclass2
2 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 61936e1377..b9adea77c8 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -792,9 +792,8 @@ def package_qa_walk(warnfuncs, errorfuncs, skip, package, d):
792 elf = oe.qa.ELFFile(path) 792 elf = oe.qa.ELFFile(path)
793 try: 793 try:
794 elf.open() 794 elf.open()
795 except (IOError, ValueError): 795 except (IOError, oe.qa.NotELFFileError):
796 # IOError can happen if the packaging control files disappear, 796 # IOError can happen if the packaging control files disappear,
797 # ValueError means the file isn't an ELF.
798 elf = None 797 elf = None
799 for func in warnfuncs: 798 for func in warnfuncs:
800 func(path, package, d, elf, warnings) 799 func(path, package, d, elf, warnings)
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))