From: Daan De Meyer Date: Tue, 7 Jan 2025 09:29:38 +0000 (+0100) Subject: mkosi-initrd: Remove /var/cache and /var/log from the initrd X-Git-Tag: v25~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f032c5bdd0b85ee49b6c511e3726afefd7f381;p=thirdparty%2Fmkosi.git mkosi-initrd: Remove /var/cache and /var/log from the initrd Fixes #3331 --- diff --git a/mkosi/resources/mkosi-initrd/mkosi.conf b/mkosi/resources/mkosi-initrd/mkosi.conf index 8e91addce..487349d32 100644 --- a/mkosi/resources/mkosi-initrd/mkosi.conf +++ b/mkosi/resources/mkosi-initrd/mkosi.conf @@ -33,8 +33,8 @@ RemoveFiles= /usr/lib/modules/*/vmlinux* /usr/lib/modules/*/System.map - # This file is not reproducible so let's remove it to increase reproducibility of initrds. - /var/cache/ldconfig/aux-cache + /var/cache + /var/log # Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it. Locale=C.UTF-8