]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
kernel.bbclass: Pass the kernel package name to depmodwrapper
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Fri, 9 Sep 2022 22:04:23 +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 postinstall 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.bbclass

index de1b80d0ae96598f485b3c051623b0f8aa93c175..e4e69e0763756a8143c6d5a260ed4c69e0a5d841 100644 (file)
@@ -677,7 +677,7 @@ pkg_postinst:${KERNEL_PACKAGE_NAME}-base () {
                mkdir -p $D/lib/modules/${KERNEL_VERSION}
        fi
        if [ -n "$D" ]; then
-               depmodwrapper -a -b $D ${KERNEL_VERSION}
+               depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
        else
                depmod -a ${KERNEL_VERSION}
        fi