]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
insane: Fix debug-deps check
authorRyan Eatmon <reatmon@ti.com>
Thu, 12 Jun 2025 18:28:38 +0000 (13:28 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jun 2025 16:56:27 +0000 (17:56 +0100)
commit1b85d84c736a0fa5cb27b8716ca37f181464c85a
tree9ec715425ed16240ed1defd566d826819bab1030
parent2d7662e5359b7490b3028ae2e7b002de5faa84da
insane: Fix debug-deps check

Fixes bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15901

The cheeck for debug-deps is looking for the mere existence of the
substring "-dbg" inside of the name of an RDEPENDS package, but it should be
an endswith check.  This helps with some eroneous errors in kernel
module names like:

ERROR: linux-xxx do_package_qa: QA Issue: kernel-modules rdepends on kernel-module-g-dbgp-6.12.22-ti [debug-deps]

and

ERROR: QA Issue: kernel-module-mtk-vcodec-dec-6.16.0-rc1-next-20250610-dirty rdepends on kernel-module-mtk-vcodec-dbgfs-6.16.0-rc1-next-20250610-dirty [debug-deps]

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/insane.bbclass