From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jFFzx-0000sB-EP for ptxdist@pengutronix.de; Fri, 20 Mar 2020 12:39:33 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jFFzx-0004E8-5j for ptxdist@pengutronix.de; Fri, 20 Mar 2020 12:39:33 +0100 Date: Fri, 20 Mar 2020 12:39:33 +0100 From: Michael Olbrich Message-ID: <20200320113933.GC7533@pengutronix.de> References: <20200227144449.29660-1-ada@thorsis.com> <20200227144449.29660-4-ada@thorsis.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200227144449.29660-4-ada@thorsis.com> Subject: Re: [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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Thu, Feb 27, 2020 at 03:44:49PM +0100, Alexander Dahl wrote: > Signed-off-by: Alexander Dahl Maybe use the same value as os-release? Michael > --- > 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 > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de