From: Daan De Meyer Date: Sun, 18 Aug 2024 12:54:10 +0000 (+0200) Subject: mkosi-initrd: Remove /var/cache/ldconfig/aux-cache X-Git-Tag: v25~358 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173dc51c8013b24c5bbcb9379c87d1bff83ed78a;p=thirdparty%2Fmkosi.git mkosi-initrd: Remove /var/cache/ldconfig/aux-cache The file is not reproducible so let's remove it so that reproducible initrds can be built by default. Fixes #2957 --- diff --git a/mkosi/resources/mkosi-initrd/mkosi.conf b/mkosi/resources/mkosi-initrd/mkosi.conf index 0c8fde8c3..a8d473561 100644 --- a/mkosi/resources/mkosi-initrd/mkosi.conf +++ b/mkosi/resources/mkosi-initrd/mkosi.conf @@ -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