From 20be62e4b9bc75b0a6111de7f605b65cac102c5c Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 5 Jun 2024 18:57:31 +0200 Subject: [PATCH 1/2] mkosi: Update to latest --- .github/workflows/mkosi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 0731321d1493cce17384a1eed101e17f43174ea2 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 5 Jun 2024 18:22:22 +0200 Subject: [PATCH 2/2] mkosi: Include fewer modules in the initramfs Let's only use mkosi's default list of modules instead of all of them. --- mkosi.conf | 3 +++ 1 file changed, 3 insertions(+) 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