summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@huawei.com>2022-09-10 00:04:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-13 10:36:50 +0100
commitb453263c7688612112d41f8f8d3ef275af6623dc (patch)
tree4c621a7254c7e79063553b7281354250ce04802e
parent1ad8bab5626f0fdeaeb2f837f651441d797f3551 (diff)
downloadpoky-b453263c7688612112d41f8f8d3ef275af6623dc.tar.gz
kernel.bbclass: Pass the kernel package name to depmodwrapper
This makes sure that the postinstall script it using the right kernel paths. (From OE-Core rev: 5105820df4800673c188366a76c1a3bd387a7148) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-recipe/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index de1b80d0ae..e4e69e0763 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -677,7 +677,7 @@ pkg_postinst:${KERNEL_PACKAGE_NAME}-base () {
677 mkdir -p $D/lib/modules/${KERNEL_VERSION} 677 mkdir -p $D/lib/modules/${KERNEL_VERSION}
678 fi 678 fi
679 if [ -n "$D" ]; then 679 if [ -n "$D" ]; then
680 depmodwrapper -a -b $D ${KERNEL_VERSION} 680 depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
681 else 681 else
682 depmod -a ${KERNEL_VERSION} 682 depmod -a ${KERNEL_VERSION}
683 fi 683 fi