touch all files, including symlinks to reset the date for reproducible builds

This commit is contained in:
Trammell Hudson 2016-08-04 18:07:36 -04:00
parent 6f1a7e2a5b
commit 99830f7dd3
Failed to extract signature

View File

@ -125,8 +125,8 @@ initrd_libs: $(initrd_bins)
#
#
initrd.cpio: $(initrd_bins) initrd_libs
find ./initrd -type f -print0 \
| xargs -0 touch -d "1970-01-01"
find ./initrd -print0 \
| xargs -0 touch --no-dereference -d "1970-01-01"
cd ./initrd ; \
( \
echo "/dev" ; \