From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7KPG-00084O-Jw for ptxdist@pengutronix.de; Thu, 27 Feb 2020 15:44:54 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id C1C04F21 for ; Thu, 27 Feb 2020 15:44:53 +0100 (CET) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qp-A3v0ZCbbY for ; Thu, 27 Feb 2020 15:44:53 +0100 (CET) Received: from adahl by ada.ifak-system.com with local (Exim 4.89) (envelope-from ) id 1j7KPB-0007kW-P1 for ptxdist@pengutronix.de; Thu, 27 Feb 2020 15:44:49 +0100 From: Alexander Dahl Date: Thu, 27 Feb 2020 15:44:49 +0100 Message-Id: <20200227144449.29660-4-ada@thorsis.com> In-Reply-To: <20200227144449.29660-1-ada@thorsis.com> References: <20200227144449.29660-1-ada@thorsis.com> Subject: [ptxdist] [PATCH 3/3] rootfs: issue: Make date string reproducible List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Alexander Dahl --- rules/rootfs.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/rootfs.make b/rules/rootfs.make index b33805d77..6a89bfcc4 100644 --- a/rules/rootfs.make +++ b/rules/rootfs.make @@ -210,7 +210,7 @@ ifdef PTXCONF_ROOTFS_ISSUE @$(call install_replace, rootfs, /etc/issue, \ @EXTRAVERSION@, $(PTXDIST_VERSION_SCM)) @$(call install_replace, rootfs, /etc/issue, \ - @DATE@, $(shell date +%FT%T%z)) + @DATE@, $(shell date --utc --date @$(SOURCE_DATE_EPOCH) '+%FT%T%z')) @$(call install_replace, rootfs, /etc/issue, \ @VENDOR@, $(PTXCONF_PROJECT_VENDOR)) @$(call install_replace, rootfs, /etc/issue, \ -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de