]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
insane: handle dangling symlinks in the libdir QA check
authorRoss Burton <ross.burton@arm.com>
Tue, 30 Apr 2024 13:57:16 +0000 (13:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2024 14:10:34 +0000 (15:10 +0100)
commitf044290f98ea66f2cecfbffd7d392dbc3d986da9
treea184f2438a4a50183eea39a3dbe34ec4807ebbe8
parent313a992d34d0b46d3f0bf2bb87c6bd7899df4028
insane: handle dangling symlinks in the libdir QA check

The "libdir" QA check tries to open every file it finds as an ELF.  If
it finds a dangling symlink that looks like a library by the filename it
will try to open it and fail with FileNotFoundError error.  As this
dangling symlink probably points to a real file, silently absorb the
error.

[ YOCTO #13949 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass