Quellcode durchsuchen

mkimage.sh.in: compress resultant images

Michael Aldridge vor 7 Jahren
Ursprung
Commit
5ea6dc395c
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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