Skip to content

Commit

Permalink
Merge pull request systemd#33218 from DaanDeMeyer/initrd-modules
Browse files Browse the repository at this point in the history
mkosi: Include fewer modules in the initramfs
  • Loading branch information
DaanDeMeyer authored Jun 6, 2024
2 parents b06ab6b + 0731321 commit 9f2c92e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f2c92e

Please sign in to comment.