From f7b191f80d4da740089a301062e7ac0b82d1d242 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Sat, 10 Sep 2022 00:04:24 +0200 Subject: kernel-module-split.bbclass: Pass the kernel package name to depmodwrapper This makes sure that the postrm script it using the right kernel paths. Signed-off-by: Andrei Gherzan Signed-off-by: Richard Purdie --- meta/classes-recipe/kernel-module-split.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes-recipe') diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass index 1b4c864a63..08c2e54e86 100644 --- a/meta/classes-recipe/kernel-module-split.bbclass +++ b/meta/classes-recipe/kernel-module-split.bbclass @@ -18,7 +18,7 @@ pkg_postrm:modules () { if [ -z "$D" ]; then depmod -a ${KERNEL_VERSION} else - depmodwrapper -a -b $D ${KERNEL_VERSION} + depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME} fi } -- cgit 1.2.3-korg