From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35283: ISO images are not reproducible Date: Sun, 21 Apr 2019 00:57:19 +0200 Message-ID: <87a7gk9tf4.fsf@gnu.org> References: <875zrafck7.fsf_-_@gnu.org> <11201672983044432889@scdbackup.webframe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHyvr-0006DG-Bs for bug-guix@gnu.org; Sat, 20 Apr 2019 18:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHyvq-0001zZ-AA for bug-guix@gnu.org; Sat, 20 Apr 2019 18:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHyvq-0001z3-6A for bug-guix@gnu.org; Sat, 20 Apr 2019 18:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHyvq-0005Q9-1l for bug-guix@gnu.org; Sat, 20 Apr 2019 18:58:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <11201672983044432889@scdbackup.webframe.org> (Thomas Schmitt's message of "Fri, 19 Apr 2019 14:46:48 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Thomas Schmitt Cc: bug-xorriso@gnu.org, 35283-done@debbugs.gnu.org Hi Thomas, "Thomas Schmitt" skribis: > If you want a fixed time for all three timestamps in all files, do: > > -volume_date all_file_dates =3D"$SOURCE_DATE_EPOCH" Thanks, that=E2=80=99s 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=3Diso9660 \ 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/=E2=80=A6-image.iso.drv Ludo=E2=80=99.