Utilize preset variable KERNEL_PACKAGE_NAME to ensure uninformative with builds if KERNEL_PACKAGE_NAME variable were to change.
Signed-off-by: Vincent Davis Jr <[email protected]> --- meta/recipes-support/libnl/libnl_3.12.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/libnl/libnl_3.12.0.bb b/meta/recipes-support/libnl/libnl_3.12.0.bb index 2b46fb69d9..be2b4e0dfa 100644 --- a/meta/recipes-support/libnl/libnl_3.12.0.bb +++ b/meta/recipes-support/libnl/libnl_3.12.0.bb @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "fc51ca7196f1a3f5fdf6ffd3864b50f4f9c02333be28be4eeca057e103 GITHUB_BASE_URI = "https://github.com/thom311/${BPN}/releases" UPSTREAM_CHECK_REGEX = "releases/tag/libnl(?P<pver>.+)" -inherit autotools pkgconfig ptest github-releases +inherit autotools pkgconfig ptest github-releases kernel-vars FILES:${PN} = "${libdir}/libnl-3.so.* \ ${libdir}/libnl.so.* \ @@ -54,7 +54,7 @@ RREPLACES:${PN}-genl = "libnl-genl2" RCONFLICTS:${PN}-genl = "libnl-genl2" DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'libcheck', '', d)}" -RRECOMMENDS:${PN}-ptest += "kernel-module-dummy kernel-module-bonding" +RRECOMMENDS:${PN}-ptest += "${KERNEL_PACKAGE_NAME}-module-dummy ${KERNEL_PACKAGE_NAME}-module-bonding" RDEPENDS:${PN}-ptest += "iproute2-ip" do_compile_ptest() { -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240700): https://lists.openembedded.org/g/openembedded-core/message/240700 Mute This Topic: https://lists.openembedded.org/mt/120217992/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
