From 5ea6dc395cc52f013c951ad797886c96dc010312 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Sat, 19 Aug 2017 00:14:12 -0700 Subject: [PATCH] mkimage.sh.in: compress resultant images --- mkimage.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkimage.sh.in b/mkimage.sh.in index 902958f..d6ed34b 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -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