From dc1a03d053b4e857a351c406d03d15bc0224d88d Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Sat, 23 Jan 2021 21:26:09 +0100 Subject: [PATCH] Reproducible fix for glibc --- share/hooks/normal/0500-reproducible-glibc.hook.chroot | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 share/hooks/normal/0500-reproducible-glibc.hook.chroot diff --git a/share/hooks/normal/0500-reproducible-glibc.hook.chroot b/share/hooks/normal/0500-reproducible-glibc.hook.chroot new file mode 100755 index 000000000..6f15d5ce1 --- /dev/null +++ b/share/hooks/normal/0500-reproducible-glibc.hook.chroot @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Remove the non-reproducible file that is created by ldconfig +# +# The file does not need to exist, see elf/cache.c:load_aux_cache +# The file and folder will be recreated when needed, see elf/cache.c:save_aux_cache +rm -fr /var/cache/ldconfig