diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 530e711ec4..aef08fe28e 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -792,7 +792,9 @@ 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: | 795 | except (IOError, ValueError): |
796 | # IOError can happen if the packaging control files disappear, | ||
797 | # ValueError means the file isn't an ELF. | ||
796 | elf = None | 798 | elf = None |
797 | for func in warnfuncs: | 799 | for func in warnfuncs: |
798 | func(path, package, d, elf, warnings) | 800 | func(path, package, d, elf, warnings) |