]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: avoid false positives on library location
authorBill Randle <william.c.randle@intel.com>
Fri, 1 Apr 2016 16:49:12 +0000 (09:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Apr 2016 14:51:08 +0000 (15:51 +0100)
commita3ad36b9a435e7c3d97f114809561198b8abe6cf
tree68bab9a25002188063b750564f786c0522c80d86
parent1f46fe7d501644c83f81dc4cc3310073c804f797
insane.bbclass: avoid false positives on library location

package_qa_check_libdir() reports that the file libsoletta.so.0.0.1-gdb.py
in /usr/share/gdb/auto-load is in the wrong location. Before generating
a warning for files in non-standard locations, check that the file is an
actual elf file (and hence a real library file).

[YOCTO #9215]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass