diff options
-rwxr-xr-x | share/hooks/normal/0500-reproducible-glibc.hook.chroot | 9 |
1 files changed, 9 insertions, 0 deletions
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 |