diff options
author | Roland Clobus <rclobus@rclobus.nl> | 2021-01-23 21:26:09 +0100 |
---|---|---|
committer | Roland Clobus <rclobus@rclobus.nl> | 2021-01-23 21:26:09 +0100 |
commit | dc1a03d053b4e857a351c406d03d15bc0224d88d (patch) | |
tree | 36cb5d4c290a5282e9a97db5301a7cb5d0bc313e /share | |
parent | 259fd735585afa401ab306af97886cb500f06613 (diff) | |
download | vyos-live-build-dc1a03d053b4e857a351c406d03d15bc0224d88d.tar.gz vyos-live-build-dc1a03d053b4e857a351c406d03d15bc0224d88d.zip |
Reproducible fix for glibc
Diffstat (limited to 'share')
-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 |