]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-initrd: Remove /var/cache/ldconfig/aux-cache
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 18 Aug 2024 12:54:10 +0000 (14:54 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 18 Aug 2024 13:32:41 +0000 (15:32 +0200)
The file is not reproducible so let's remove it so that reproducible
initrds can be built by default.

Fixes #2957

mkosi/resources/mkosi-initrd/mkosi.conf

index 0c8fde8c3c8fd233e59bf59aa386252dcf5c00b0..a8d473561a189a5a31b8ef9a131261c38b0ddbdd 100644 (file)
@@ -33,6 +33,9 @@ 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
+
 # Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it.
 Locale=C.UTF-8
 WithDocs=no