From c59d96106ef16a31c2572852b04b5cf34fd83bd8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 27 Feb 2018 16:06:54 +0100 Subject: Use shorter image description --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 0b4729c..a1b2cfc 100755 --- a/build.sh +++ b/build.sh @@ -131,7 +131,7 @@ build_tarball() { build_metadata() { local stat=`stat -c %Y $rootfs` - local date="`date -R -d \"@${stat}\"`" + local date="`date -d \"@${stat}\" +%F`" if test ${subarch} = generic; then local arch_lxd=${arch} @@ -144,7 +144,7 @@ architecture: "$arch_lxd" creation_date: $(date +%s) properties: architecture: "$arch_lxd" - description: "OpenWrt $ver $arch_lxd ($date)" + description: "OpenWrt $ver ($date)" os: "OpenWrt" release: "$ver" templates: -- cgit v1.2.3