]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-initrd: Tighten up kernel module regexes 2523/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 18 Mar 2024 09:02:49 +0000 (10:02 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 18 Mar 2024 09:05:23 +0000 (10:05 +0100)
The previous ones matched more than than the modules we wanted, so
let's make sure we only match the ones we want.

mkosi/resources/mkosi-initrd/mkosi.conf

index 7a0d7b0e7dacb53bfd5ba9066b84377db58e202b..aa4071b7c864a4da58aaf3d0ca869768a6ab11e1 100644 (file)
@@ -37,14 +37,14 @@ WithDocs=no
 
 # Make sure various core modules are always included in the initrd.
 KernelModulesInclude=
-                    btrfs
-                    dm-crypt
-                    dm-integrity
-                    dm-verity
-                    erofs
-                    ext4
-                    loop
-                    overlay
-                    squashfs
-                    vfat
-                    xfs
+                    /btrfs.ko
+                    /dm-crypt.ko
+                    /dm-integrity.ko
+                    /dm-verity.ko
+                    /erofs.ko
+                    /ext4.ko
+                    /loop.ko
+                    /overlay.ko
+                    /squashfs.ko
+                    /vfat.ko
+                    /xfs.ko