Ver código fonte

mkimage.sh.in: compress resultant images

Michael Aldridge 7 anos atrás
pai
commit
5ea6dc395c
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      mkimage.sh.in

+ 2 - 0
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