@@ -207,7 +207,12 @@ RPROVIDES:${PN}-dev = "${PN}-libblkid-dev ${PN}-libmount-dev"
RDEPENDS:${PN}-bash-completion += "${PN}-lsblk ${PN}-findmnt"
RDEPENDS:${PN}-ptest += "bash bc btrfs-tools coreutils e2fsprogs findutils grep iproute2 kmod procps sed socat xz diffutils"
-RRECOMMENDS:${PN}-ptest += "kernel-module-scsi-debug kernel-module-sd-mod kernel-module-loop kernel-module-algif-hash"
+RRECOMMENDS:${PN}-ptest += "\
+ ${KERNEL_PACKAGE_NAME}-module-scsi-debug \
+ ${KERNEL_PACKAGE_NAME}-module-sd-mod \
+ ${KERNEL_PACKAGE_NAME}-module-loop \
+ ${KERNEL_PACKAGE_NAME}-module-algif-hash \
+ "
RDEPENDS:${PN}-swaponoff = "${PN}-swapon ${PN}-swapoff"
ALLOW_EMPTY:${PN}-swaponoff = "1"
Utilize preset variable KERNEL_PACKAGE_NAME to ensure uniformity with builds if KERNEL_PACKAGE_NAME variable were to change. Signed-off-by: Vincent Davis Jr <vince@underview.tech> --- meta/recipes-core/util-linux/util-linux_2.42.2.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)