From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Alexander Dahl Date: Fri, 20 Mar 2020 13:08:41 +0100 Message-ID: <6473755.qs92G9q9jm@ada> In-Reply-To: <20200320113933.GC7533@pengutronix.de> References: <20200227144449.29660-1-ada@thorsis.com> <20200227144449.29660-4-ada@thorsis.com> <20200320113933.GC7533@pengutronix.de> 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 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Michael Olbrich Hello, Am Freitag, 20. M=E4rz 2020, 12:39:33 CET schrieb Michael Olbrich: > 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? Would make sense, I thought that's what = $(shell date --utc --date @$(SOURCE_DATE_EPOCH) '+%FT%T%z') would yield, given SOURCE_DATE_EPOCH is always set? I used that line in bot= h = patches. = I'm sorry, I don't understand what you mean here, or what you mean with tha= t = question above. Greets Alex > > --- > > = > > 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, \ _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de