@@ -15,7 +15,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git;protocol=https;bra
SRCREV = "8b414a0d4753693d67b9a5822994e5f0c91b0b0a"
-inherit pkgconfig ptest systemd
+inherit pkgconfig ptest systemd kernel-vars
DEPENDS = "udev"
@@ -85,12 +85,12 @@ RDEPENDS:${PN}-ptest += " \
"
RRECOMMENDS:${PN}-ptest += " \
coreutils \
- kernel-module-loop \
- kernel-module-linear \
- kernel-module-raid0 \
- kernel-module-raid1 \
- kernel-module-raid10 \
- kernel-module-raid456 \
+ ${KERNEL_PACKAGE_NAME}-module-loop \
+ ${KERNEL_PACKAGE_NAME}-module-linear \
+ ${KERNEL_PACKAGE_NAME}-module-raid0 \
+ ${KERNEL_PACKAGE_NAME}-module-raid1 \
+ ${KERNEL_PACKAGE_NAME}-module-raid10 \
+ ${KERNEL_PACKAGE_NAME}-module-raid456 \
"
FILES:${PN} += "${systemd_unitdir}/*"
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/mdadm/mdadm_4.6.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)