From 99830f7dd3070f34f1de607fca5560fa0548b391 Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Thu, 4 Aug 2016 18:07:36 -0400 Subject: [PATCH] touch all files, including symlinks to reset the date for reproducible builds --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d372c6f..22034af 100644 --- a/Makefile +++ b/Makefile @@ -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" ; \