From: Andrei Gherzan Date: Fri, 9 Sep 2022 22:04:24 +0000 (+0200) Subject: kernel-module-split.bbclass: Pass the kernel package name to depmodwrapper X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2964 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7b191f80d4da740089a301062e7ac0b82d1d242;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass index 1b4c864a630..08c2e54e860 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 }