summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/kernel-module-split.bbclass
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@huawei.com>2022-09-10 00:04:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-13 10:36:50 +0100
commit475639ba49f89d02cfa6a32686e3475cb13c45bf (patch)
tree8e23c8f6181498df66929b7a3b370cb727270d9c /meta/classes-recipe/kernel-module-split.bbclass
parentb453263c7688612112d41f8f8d3ef275af6623dc (diff)
downloadpoky-475639ba49f89d02cfa6a32686e3475cb13c45bf.tar.gz
kernel-module-split.bbclass: Pass the kernel package name to depmodwrapper
This makes sure that the postrm script it using the right kernel paths. (From OE-Core rev: f7b191f80d4da740089a301062e7ac0b82d1d242) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-module-split.bbclass')
-rw-r--r--meta/classes-recipe/kernel-module-split.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass
index 1b4c864a63..08c2e54e86 100644
--- a/meta/classes-recipe/kernel-module-split.bbclass
+++ b/meta/classes-recipe/kernel-module-split.bbclass
@@ -18,7 +18,7 @@ pkg_postrm:modules () {
18if [ -z "$D" ]; then 18if [ -z "$D" ]; then
19 depmod -a ${KERNEL_VERSION} 19 depmod -a ${KERNEL_VERSION}
20else 20else
21 depmodwrapper -a -b $D ${KERNEL_VERSION} 21 depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
22fi 22fi
23} 23}
24 24