mkimage.sh.in: compress resultant images

This commit is contained in:
Michael Aldridge 2017-08-19 00:14:12 -07:00
parent bc651eb19f
commit 5ea6dc395c
1 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,8 @@ case "$PLATFORM" in
info_msg "Sucessfully created ${FILENAME%.img}.tar.gz image."
;;
*)
info_msg "Compressing $FILENAME with xz (level 9 compression)"
xz -T0 -9 "$FILENAME"
info_msg "Successfully created $FILENAME image."
;;
esac