From nobody Tue Oct 20 00:18:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=pass(p=reject dis=none) header.from=seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1790607727; cv=none; d=zohomail.com; s=zohoarc; b=cX5DRMM9E8VM39/BGG7JsYDbEen6tOOo1PlZ8u7yrshRgbIkKuywVlspcvmqWiKSBwFgcx9Nk9wnkYl07ZytNKdsUEjnYzeuLtffxFzQehX3+X59oOXHAUilQciY1j9SwBLoIfRJRlrIQ/ajcMeEIhfSE3wSiRhjDrPZE3He5BY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1790607727; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=c/iRuyDPufFAFwICd6lhWgJskC/vfadYNwGCInOASfM=; b=VaawZs9FdHYfiMw0CG/K0Q3nYMgAVYA28oiCu70B2ORZcNv3+TwMP3A5W94LHY8of/1kk9oXpqy0J25auZBgCoi0Hu2mEtdh5U8ByqH49YXvLxJiDP7G+CScsU+lNG2fQbo9q9AjhkvXnawhXwerjO4z6BmLAvB7Q7pp80TzHCI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from coreboot.org (mail.coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1790607727827468.880050787266; Mon, 28 Sep 2026 08:02:07 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id AA0C354E1C4; Mon, 28 Sep 2026 15:02:03 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) [78.40.148.171]) by coreboot.org (Postfix) with ESMTP id DECD354E1B1 for ; Mon, 28 Sep 2026 15:01:29 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1xBCXX-000gy5-9r; Mon, 28 Sep 2026 15:41:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seabios.org; s=dkim; t=1790607724; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:list-id:list-owner:list-unsubscribe:list-subscribe:list-post; bh=c/iRuyDPufFAFwICd6lhWgJskC/vfadYNwGCInOASfM=; b=Zu1CQaLmtctFmTIoQb/q7Hhe+l+FKhDGeB08eUfzys9/HsbvGUc8lSfMtJsNCWPsQdaOzN ro9vBC66C0smWwITlhBKKT2bGkbLSopLduxTvoyWwagmZx0jpIzaopQISdzoMyE94DvlNM iWBoLGmw1lL0SxlpNx42EXeqW5xGCgQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap5-20230908; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:In-Reply-To: References; bh=z+cNITszG8YPqx7kbfjtKwEKN876F1OGFvgyQV+ss3o=; b=UMQZlhHlF7MK1z ucQh8LSsHlcD4S8aM5QiuTYVWUSXifB6YshgApBEc1UjHPz6FXComxXzwVosjbMyFxpOt142WZ+fo nz/XmiZTMbqpaPOUyNR8yAqQz89nULulQLEKTN6eKjJV1QT8ksVcR5c6167NLFkG4InHbDV+0UrrP GKfW4QXH6d0G5XjEhx34XrasQt7MT8+4FPQOcOsz/r/Ru0Gwr/ryv0i9b/T2IynmL3euPLyptEv/K gZ8FOt364YXlxrJbBnx1NUydIZgQvlxsl2/hHhBE9LQDmdt81baVdhAFQPdxRDg5goyoeHBdiMpwO 1MdWkLgo4h+ffrtjBK4Q==; To: seabios@seabios.org Date: Mon, 28 Sep 2026 15:41:02 +0100 Message-ID: <20260928144107.750348-1-lawrence.hunter@codethink.co.uk> MIME-Version: 1.0 Sender: lawrence.hunter@codethink.co.uk X-Spam-Level: **** Message-ID-Hash: 3RHD7ZUPVUBFKQEKQD6R5U4W32CW7E73 X-Message-ID-Hash: 3RHD7ZUPVUBFKQEKQD6R5U4W32CW7E73 X-MailFrom: lawrence.hunter@codethink.co.uk X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header Cc: Lawrence Hunter X-Mailman-Version: 3.3.11b1 Precedence: list Subject: [SeaBIOS] [PATCH] Use SOURCE_DATE_EPOCH to facilitate reproducible builds List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Lawrence Hunter via SeaBIOS Reply-To: Lawrence Hunter Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: / X-ZohoMail-DKIM: pass (identity @seabios.org) X-ZM-MESSAGEID: 1790607731237158500 Content-Type: text/plain; charset="utf-8" https://reproducible-builds.org/docs/source-date-epoch/ Without this change the timestamp varies between builds and cannot be checked for reproducibility Signed-off-by: Lawrence Hunter --- scripts/buildversion.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/buildversion.py b/scripts/buildversion.py index 8875497c..80951973 100755 --- a/scripts/buildversion.py +++ b/scripts/buildversion.py @@ -125,7 +125,10 @@ def main(): if not ver: ver =3D "?" if not cleanbuild: - btime =3D time.strftime("%Y%m%d_%H%M%S") + btime =3D time.strftime( + "%Y%m%d_%H%M%S", + time.localtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.ti= me()))) + ) hostname =3D socket.gethostname() ver =3D "%s-%s-%s" % (ver, btime, hostname) write_version(outfile, ver + options.extra, toolstr) --=20 2.54.0 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org