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 <bernh...@bwalle.de>
---
 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

Reply via email to