@@ -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 \
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 <vince@underview.tech> --- meta/recipes-extended/parted/parted_3.7.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)