]> code.ossystems Code Review - openembedded-core.git/commit
insane: only load real files as ELF
authorRoss Burton <ross@burtonini.com>
Thu, 3 Sep 2020 12:43:19 +0000 (13:43 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 8 Sep 2020 14:25:45 +0000 (04:25 -1000)
commit0b6f03752e6581a15e5fb900a8de7aef78709ef6
treed208bc88e0913473d9d892c1fbdd86895d57575f
parent02a1d8edc42961a4d97e6cd8d6e7cc573e1c1486
insane: only load real files as ELF

The file path checks are passed an ELF object if the file is an ELF. It
doesn't make a lot of sense to load symlinks to ELFs as if they're in
the same package then the real file will be checked too.

This should speed up do_package_qa slightly as libraries won't be
scanned repeatedly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c63af30d3b6350361daff94a59d4f14d7c5395e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/insane.bbclass