diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2022-09-10 00:04:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-13 10:36:50 +0100 |
commit | 475639ba49f89d02cfa6a32686e3475cb13c45bf (patch) | |
tree | 8e23c8f6181498df66929b7a3b370cb727270d9c /meta/classes-recipe/kernel-module-split.bbclass | |
parent | b453263c7688612112d41f8f8d3ef275af6623dc (diff) | |
download | poky-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.bbclass | 2 |
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 () { | |||
18 | if [ -z "$D" ]; then | 18 | if [ -z "$D" ]; then |
19 | depmod -a ${KERNEL_VERSION} | 19 | depmod -a ${KERNEL_VERSION} |
20 | else | 20 | else |
21 | depmodwrapper -a -b $D ${KERNEL_VERSION} | 21 | depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME} |
22 | fi | 22 | fi |
23 | } | 23 | } |
24 | 24 | ||