diff --git a/build.sh b/build.sh index 28d1b10..65dd0de 100755 --- a/build.sh +++ b/build.sh @@ -337,5 +337,5 @@ rm -r $DEST/output/sdcard/ if [ "$COMPRESS" = "true" ]; then echo "compress image" - gzip $DEST/output/*.raw + xz -z $DEST/output/${IMG_NAME}-${VERSION}_rootfs_SD.raw fi