image-builder: makeFAT32: make FAT32 image more reproducible
The current code in <nixpkgs> is reproducible since the date/time comes
from the store. With my particular tests, the date/time is the current
one since I'm using `>` to create test files.
@@ -24,7 +24,8 @@ makeFilesystem (args // {
copyPhase = ''
for f in ./* ./.*; do
if [[ "$f" != "./." && "$f" != "./.." ]]; then
- mcopy -psvm -i "$img" "$f" ::
+ faketime "1970-01-01 00:00:00" \
+ mcopy -psv -i "$img" "$f" ::
fi
done
'';
