Fix a variety of reproducibility issues

Include:
- Not regenerated man pages.
- Automake tarball with bad time (and completely useless).
- Ordering of files within tarballs.
- Resetting timestamp various fixes.
- Older tars not properly overwriting files leading to many issues.
- Weird lack of reproducibility in libtool scripts paths to tools.
- and more
This commit is contained in:
fosslinux 2022-02-10 21:55:06 +11:00
parent a343dcf6ed
commit 931490551a
15 changed files with 71 additions and 32 deletions

View file

@ -16,6 +16,7 @@ set -e
export PATH=/usr/bin:/usr/sbin
export PREFIX=/usr
export SOURCES=/usr/src
export DESTDIR=/tmp/destdir
create_fhs() {
# Add the rest of the FHS that we will use and is not created pre-boot
@ -39,4 +40,4 @@ create_fhs
build bash-5.1
exec env -i PATH=${PATH} PREFIX=${PREFIX} SOURCES=${SOURCES} bash run2.sh
exec env -i PATH=${PATH} PREFIX=${PREFIX} SOURCES=${SOURCES} DESTDIR=${DESTDIR} bash run2.sh