From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay05.ispgateway.de ([80.67.31.99]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SNM5N-0003JU-Bl for ptxdist@pengutronix.de; Thu, 26 Apr 2012 12:38:06 +0200 Received: from [88.217.107.188] (helo=localhost) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SNM5M-0002P9-IL for ptxdist@pengutronix.de; Thu, 26 Apr 2012 12:38:04 +0200 From: Bernhard Walle Date: Thu, 26 Apr 2012 12:37:59 +0200 Message-Id: <1335436679-11344-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] rules/rootfs.make: Fix date call Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Apply the fix in 1139f0eb294834d54fbb4f1513e8696209839604 also to the second invocation of date which my commit c13c4ac2ddc6a5e2614073236c665ffe7e2e2c04 broke. It fixes the problem that the date part of the timestamp contained minutes (%M) instead of the month (%m). Signed-off-by: Bernhard Walle --- rules/rootfs.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/rootfs.make b/rules/rootfs.make index ed30235..8306c53 100644 --- a/rules/rootfs.make +++ b/rules/rootfs.make @@ -185,7 +185,7 @@ ifdef PTXCONF_ROOTFS_ISSUE @$(call install_replace, rootfs, /etc/issue, \ @EXTRAVERSION@, $(PTXDIST_VERSION_SCM)) @$(call install_replace, rootfs, /etc/issue, \ - @DATE@, $(shell date +%Y-%M-%dT%H:%M:%S%z)) + @DATE@, $(shell date +%FT%T%z)) @$(call install_replace, rootfs, /etc/issue, \ @VENDOR@, $(PTXCONF_PROJECT_VENDOR)) @$(call install_replace, rootfs, /etc/issue, \ -- 1.7.10 -- ptxdist mailing list ptxdist@pengutronix.de