]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Only include default kernel modules in default image
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Jul 2024 13:47:10 +0000 (15:47 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 24 Jul 2024 15:28:59 +0000 (17:28 +0200)
Let's add some coverage for the default modules list by enabling it
for the default image.

mkosi.conf

index 0bae2df221872b449f3e993053eaffe91e655701..6977bd19e812db968f76e96171e113998def719d 100644 (file)
@@ -37,5 +37,8 @@ RemoveFiles=
 # Make sure that SELinux doesn't run in enforcing mode even if it's pulled in as a dependency.
 KernelCommandLine=enforcing=0
 
+KernelModulesInitrdExclude=.*
+KernelModulesInitrdInclude=default
+
 [Host]
 QemuMem=4G