summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-02-27 16:06:54 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-02-27 16:06:54 +0100
commitc59d96106ef16a31c2572852b04b5cf34fd83bd8 (patch)
tree7de8c9cf31b664d27de4e9b7940427c2f8fa3b90
parent42bfaa149f6e6b83974651789a9595090619abdb (diff)
Use shorter image description
-rwxr-xr-xbuild.sh4
1 files 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: