From: Andrei Gherzan Date: Fri, 9 Sep 2022 22:04:23 +0000 (+0200) Subject: kernel.bbclass: Pass the kernel package name to depmodwrapper X-Git-Tag: 2022-10~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5105820df4800673c188366a76c1a3bd387a7148;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git kernel.bbclass: Pass the kernel package name to depmodwrapper This makes sure that the postinstall script it using the right kernel paths. Signed-off-by: Andrei Gherzan Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index de1b80d0ae9..e4e69e07637 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -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