scripts/mkimage-yaml: strip milliseconds from time stamp

This commit is contained in:
Natanael Copa 2016-11-11 07:46:37 -08:00
parent 4b621b0cb3
commit ac210c74ae

View File

@ -47,6 +47,7 @@ for image; do
size="$(stat -c "%s" $image)"
date=${datetime%% *}
time=${datetime#* }
time=${time%.*}
file=${filepath##*/}
flavor=${file%-${release}-${arch}.*}