]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-initrd: Remove /var/cache and /var/log from the initrd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Jan 2025 09:29:38 +0000 (10:29 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Jan 2025 13:35:35 +0000 (14:35 +0100)
Fixes #3331

mkosi/resources/mkosi-initrd/mkosi.conf

index 8e91addce3b6b94a6496217e3f07bb0ddfa5831b..487349d32d774cb626cc1678c707bea48fe4ce13 100644 (file)
@@ -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