]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
kernel-module-split.bbclass: Pass the kernel package name to depmodwrapper
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Fri, 9 Sep 2022 22:04:24 +0000 (00:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2022 09:34:30 +0000 (10:34 +0100)
This makes sure that the postrm script it using the right kernel paths.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-module-split.bbclass

index 1b4c864a630ec6dfdfadc4045bd8dd8bc08acb1d..08c2e54e86065a3c0504261de404c238902949a8 100644 (file)
@@ -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
 }