summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-06 18:01:00 +0200
committerGitHub <noreply@github.com>2024-06-06 18:01:00 +0200
commit9f2c92e3ba7e7b0a7a2db46c63f2397629e231f3 (patch)
treea08ea889f0d4043402b83d9f24588c6b3da2fd48
parentMerge pull request #33189 from bluca/fscrypt_flush (diff)
parentmkosi: Include fewer modules in the initramfs (diff)
downloadsystemd-9f2c92e3ba7e7b0a7a2db46c63f2397629e231f3.tar.xz
systemd-9f2c92e3ba7e7b0a7a2db46c63f2397629e231f3.zip
Merge pull request #33218 from DaanDeMeyer/initrd-modules
mkosi: Include fewer modules in the initramfs
-rw-r--r--.github/workflows/mkosi.yml2
-rw-r--r--mkosi.conf3
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml
index cfdfa8eba0..f9cf3f76ae 100644
--- a/.github/workflows/mkosi.yml
+++ b/.github/workflows/mkosi.yml
@@ -92,7 +92,7 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- - uses: systemd/mkosi@8770a4e3390a68522f187acbcd33311040563fda
+ - uses: systemd/mkosi@38668e8099653cd8499fc8842af894d31ebc0f07
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
# immediately, we remove the files in the background. However, we first move them to a different location
diff --git a/mkosi.conf b/mkosi.conf
index e5f9b4e7e8..6501248655 100644
--- a/mkosi.conf
+++ b/mkosi.conf
@@ -43,6 +43,9 @@ KernelCommandLine=systemd.crash_shell
systemd.mask=isc-dhcp-server.service
systemd.mask=mdmonitor.service
+KernelModulesInitrdExclude=.*
+KernelModulesInitrdInclude=default
+
[Host]
Credentials=journal.storage=persistent
@Incremental=yes