Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1obQCY-0000TJ-Om for mharc-grub-devel@gnu.org; Thu, 22 Sep 2022 13:41:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obQCM-0000SF-Ao for grub-devel@gnu.org; Thu, 22 Sep 2022 13:41:21 -0400 Received: from cheddar.halon.org.uk ([93.93.131.118]:38640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obQCJ-00074P-0y for grub-devel@gnu.org; Thu, 22 Sep 2022 13:41:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=einval.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:From:Reply-To:Subject:Content-Transfer-Encoding: Content-ID:Content-Description:X-Debbugs-Cc; bh=OcYBUidmhhb9m1HM7+4UVfpvdBQaRBc3RGCXBlgtCCY=; b=C85Ye3I+P8ujUQkJOSYcGMK9Jp 0PRhYKpRUgE+yeuS65k4pPbLUzM1jseoGv9P12I8Zg2J3VQ0LG9Vdfpzmj4qwSijetzw1HKpA3p9L cH5z4dqqK1KnBDnfGN0e95lE4GsSOnzTLImygrPFjYhYJI9ZYYNmpnj4RwtkVQXPokbSF2TulTxAS EOsekorsT47wn7qy6pwyaS8ymnCiWt/XRFDK0QqoOY8C8BJJWG+UaOSIJ7zLwB0png8YZyaD6y7xf V3gWurOEPRTZlpTWU6SYU2QK2TW9rrzk1hrecPO+pQ5VwICBIjaghrxyQBNImEhVWWsDAuyDX2sGb XjQvqtWQ==; Received: from bsmtp by cheddar.halon.org.uk with local-bsmtp (Exim 4.92) (envelope-from ) id 1obQCE-0007ZY-EY; Thu, 22 Sep 2022 18:41:10 +0100 Received: from steve by tack.einval.org with local (Exim 4.94.2) (envelope-from ) id 1obQC6-005tVk-Nh; Thu, 22 Sep 2022 18:41:02 +0100 Date: Thu, 22 Sep 2022 18:41:02 +0100 From: Steve McIntyre To: Daniel Kiper Cc: grub-devel@gnu.org Subject: Re: [PATCH] Explicitly unset SOURCE_DATE_EPOCH before running fs tests Message-ID: <20220922174057.GO599193@tack.einval.com> References: <20220918221202.145764-1-steve@einval.com> <20220922171850.xwd4xnm5oecq2bs5@tomti.i.net-space.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220922171850.xwd4xnm5oecq2bs5@tomti.i.net-space.pl> X-attached: none User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: pass client-ip=93.93.131.118; envelope-from=steve@einval.com; helo=cheddar.halon.org.uk X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2022 17:41:21 -0000 On Thu, Sep 22, 2022 at 07:18:50PM +0200, Daniel Kiper wrote: >On Sun, Sep 18, 2022 at 11:12:02PM +0100, Steve McIntyre wrote: >> In some filesystem utils like mksquashfs, they will silently change >> behaviour and cause timestamps to unexpectedly change. Build >> environments like Debian's set SOURCE_DATE_EPOCH in the environment, >> so remove it. Reproducible builds are good and useful for shipped >> artifacts, but this causes build-time tests to fail. >> >> Signed-off-by: Steve McIntyre > >Reviewed-by: Daniel Kiper but... > >> --- >> tests/util/grub-fs-tester.in | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in >> index 43f6175c3..6d70967e6 100644 >> --- a/tests/util/grub-fs-tester.in >> +++ b/tests/util/grub-fs-tester.in >> @@ -5,6 +5,9 @@ export BLKID_FILE=/dev/null >> >> fs="$1" >> >> +# We can't have this set, or filesystem tests will fail >> +unset SOURCE_DATE_EPOCH >> + > >... I would put this change before fs assignment above. It would be next >to export and look more logically. At least for me... :-) If you do not >object I will make this change before applying the patch. Sure, go for it. :-) -- Steve McIntyre, Cambridge, UK. steve@einval.com You raise the blade, you make the change... You re-arrange me 'til I'm sane...