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-extended/parted/parted_3.7.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/parted/parted_3.7.bb 
b/meta/recipes-extended/parted/parted_3.7.bb
index a669919dd7..79b16c19dc 100644
--- a/meta/recipes-extended/parted/parted_3.7.bb
+++ b/meta/recipes-extended/parted/parted_3.7.bb
@@ -16,7 +16,7 @@ SRC_URI:append:riscv64 = " 
file://0001-t9042-dos-partition-limit.sh-unconditiona
 
 SRC_URI[sha256sum] = 
"008de57561a4f3c25a0648e66ed11e7b30be493889b64334a6d70f2c1951ef7b"
 
-inherit autotools pkgconfig gettext texinfo ptest
+inherit autotools pkgconfig gettext texinfo ptest kernel-vars
 
 PACKAGECONFIG ?= "readline"
 PACKAGECONFIG[device-mapper] = 
"--enable-device-mapper,--disable-device-mapper,libdevmapper lvm2"
@@ -52,7 +52,7 @@ do_install_ptest() {
 }
 
 RDEPENDS:${PN}-ptest = "bash coreutils perl util-linux-losetup 
util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs 
python3-core dosfstools"
-RRECOMMENDS:${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop 
kernel-module-vfat"
+RRECOMMENDS:${PN}-ptest += "${KERNEL_PACKAGE_NAME}-module-scsi-debug 
${KERNEL_PACKAGE_NAME}-module-loop ${KERNEL_PACKAGE_NAME}-module-vfat"
 RDEPENDS:${PN}-ptest:append:libc-glibc = "\
         glibc-utils \
         locale-base-en-us \
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240698): 
https://lists.openembedded.org/g/openembedded-core/message/240698
Mute This Topic: https://lists.openembedded.org/mt/120217989/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to