]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rootfs.py: Run depmod(wrapper) against each compiled kernel
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Fri, 9 Sep 2022 22:04:25 +0000 (00:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2022 09:34:30 +0000 (10:34 +0100)
commitefa88e1c227d695319197f511701e0230d301f39
tree91e077c65929f65fbbf319553ebe1ea6f22ac9ad
parentf7b191f80d4da740089a301062e7ac0b82d1d242
rootfs.py: Run depmod(wrapper) against each compiled kernel

We run depmod (through depmodwrapper) at the end of the rootfs
generation process. This part of the process assumes in its current
implementation that the kernel package name is always 'kernel' and that
there is only one set of kernel modules for which we need to generate
the modules.dep and map files.

The kernel package name can be configured via a variable
(KERNEL_PACKAGE_NAME) and becomes a namespace that enables the build
system to deal with multiple compiled kernel recipes. This patch checks
for all the depmod pkgdata and runs depmod for each of the detected
kernel versions/kernel package name.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py