]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Speed up kernel modules initrd generation if no excludes were specified 2465/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 6 Mar 2024 12:01:35 +0000 (13:01 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 6 Mar 2024 13:31:25 +0000 (14:31 +0100)
commit0963257fe2114a56069c286605d3ec306223b724
treefb419fd9d0f641113a6dea4fd4c3f34919806e7c
parent74c31863231fab699297ae91c8d65de4e5d9e26d
Speed up kernel modules initrd generation if no excludes were specified

If no excludes were specified, we can just glob all modules and firmware
without going via modinfo. We can only do this if no firmware was installed
as otherwise we end up copying firmware into the initrd that's not depended
on by any kernel modules.
mkosi/kmod.py