]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Always add raid modules to the initrd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Jul 2024 13:44:20 +0000 (15:44 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Jul 2024 14:40:06 +0000 (16:40 +0200)
Raid needs to be set up from the initrd so let's make sure the
modules required to do that are always available.

mkosi/resources/mkosi-initrd/mkosi.conf

index 9f0874d880ed06bba6e0230e52f077b26258ff2d..4286eedbac6cd7fd5706cadfe108d4d714bd4ac0 100644 (file)
@@ -47,9 +47,11 @@ KernelModulesInclude=
                     /dm-crypt.ko
                     /dm-integrity.ko
                     /dm-mod.ko
+                    /dm-raid.ko
                     /dm-multipath.ko
                     /dm-verity.ko
                     /dmi-sysfs.ko
+                    /raid[0-9]*.ko
                     /efi-pstore.ko
                     /efivarfs.ko
                     /erofs.ko