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 1j7KPH-00084R-0s for ptxdist@pengutronix.de; Thu, 27 Feb 2020 15:44:55 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 204D07F7B for ; Thu, 27 Feb 2020 15:44:54 +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 myHgkb5l_Am3 for ; Thu, 27 Feb 2020 15:44:54 +0100 (CET) Received: from adahl by ada.ifak-system.com with local (Exim 4.89) (envelope-from ) id 1j7KPB-0007kS-MI for ptxdist@pengutronix.de; Thu, 27 Feb 2020 15:44:49 +0100 From: Alexander Dahl Date: Thu, 27 Feb 2020 15:44:48 +0100 Message-Id: <20200227144449.29660-3-ada@thorsis.com> In-Reply-To: <20200227144449.29660-1-ada@thorsis.com> References: <20200227144449.29660-1-ada@thorsis.com> Subject: [ptxdist] [PATCH 2/3] os-release: 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/os-release.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/os-release.make b/rules/os-release.make index 5156156a0..ba607aa38 100644 --- a/rules/os-release.make +++ b/rules/os-release.make @@ -56,7 +56,7 @@ $(STATEDIR)/os-release.targetinstall: $(PTXDIST_PTXCONFIG) $(PTXDIST_PLATFORMCON @PTXDIST_VERSION@, $(PTXDIST_VERSION_FULL)) @$(call install_replace, os-release, /usr/lib/os-release, \ - @DATE@, $(shell date +%FT%T%z)) + @DATE@, $(shell date --utc --date @$(SOURCE_DATE_EPOCH) '+%FT%T%z')) @$(call install_link, os-release, ../usr/lib/os-release, \ /etc/os-release) -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de