--- Begin Message ---
Subject: |
ISO images are not reproducible |
Date: |
Mon, 15 Apr 2019 09:46:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
As noted by Florian in <https://issues.guix.info/issue/33639>, images
created by ‘guix system disk-image --file-system-type=iso9660’ are not
bit-reproducible.
Ludo’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#35283: ISO images are not reproducible |
Date: |
Sun, 21 Apr 2019 00:57:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi Thomas,
"Thomas Schmitt" <address@hidden> skribis:
> If you want a fixed time for all three timestamps in all files, do:
>
> -volume_date all_file_dates ="$SOURCE_DATE_EPOCH"
Thanks, that’s what I was missing.
It was still not the end of the story, but I have some good news: the
series of commits below allow me to build ISO images reproducibly! \o/
1b0b1651b1 gnu: mtools: 'mformat' initializes boot sector before writing it.
5502fbd7fd gnu: valgrind: Add 3.15.0.
605815023c vm: Use a fixed FAT serial number for 'efi.img' in ISO images.
52b5fe5bcf gnu: grub: 'grub-mkrescue' honors 'GRUB_FAT_SERIAL_NUMBER'.
6901b9248e vm: Reset file timestamps of the EFI image in ISO images.
833480cc1f vm: Reset file timestamps in ISO images.
To check by yourself you can do, say:
guix system disk-image --file-system-type=iso9660 \
gnu/system/examples/bare-bones.tmpl
and then check the ISO derivation that was built as the last step above:
guix build --check -K /gnu/store/…-image.iso.drv
Ludo’.
--- End Message ---