--- mkinitcpio.old 2022-02-16 15:44:33.529519938 +0100 +++ mkinitcpio 2022-02-16 15:46:09.754968752 +0100 @@ -709,6 +709,8 @@ # this is simply a nice-to-have -- it doesn't matter if it fails. ldconfig -r "$BUILDROOT" &>/dev/null +# remove /var/cache/ldconfig/aux-cache for reproducability +[[ -e $BUILDROOT/var/cache/ldconfig/aux-cache ]] && rm $BUILDROOT/var/cache/ldconfig/aux-cache # Set umask to create initramfs images and EFI images as 600 umask 077