mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b453263c76
commit
475639ba49
@@ -18,7 +18,7 @@ pkg_postrm:modules () {
|
||||
if [ -z "$D" ]; then
|
||||
depmod -a ${KERNEL_VERSION}
|
||||
else
|
||||
depmodwrapper -a -b $D ${KERNEL_VERSION}
|
||||
depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user