Skip to content

Commit 9f2c92e

Browse files
authored
Merge pull request #33218 from DaanDeMeyer/initrd-modules
mkosi: Include fewer modules in the initramfs
2 parents b06ab6b + 0731321 commit 9f2c92e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/mkosi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
steps:
9494
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
95-
- uses: systemd/mkosi@8770a4e3390a68522f187acbcd33311040563fda
95+
- uses: systemd/mkosi@38668e8099653cd8499fc8842af894d31ebc0f07
9696

9797
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
9898
# immediately, we remove the files in the background. However, we first move them to a different location

mkosi.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ KernelCommandLine=systemd.crash_shell
4343
systemd.mask=isc-dhcp-server.service
4444
systemd.mask=mdmonitor.service
4545

46+
KernelModulesInitrdExclude=.*
47+
KernelModulesInitrdInclude=default
48+
4649
[Host]
4750
Credentials=journal.storage=persistent
4851
@Incremental=yes

0 commit comments

Comments
 (0)