diff --git a/debootstrap-ng.sh b/debootstrap-ng.sh index d31b09e911..05dface047 100644 --- a/debootstrap-ng.sh +++ b/debootstrap-ng.sh @@ -503,7 +503,7 @@ create_image() mkdir -p $DEST/images # stage: compressing or copying image file - if [[ -n $FIXED_IMAGE_SIZE ]]; then + if [[ -n $FIXED_IMAGE_SIZE || $COMPRESS_OUTPUTIMAGE == no ]]; then display_alert "Copying image file" "$VERSION.raw" "info" mv -f $DEST/cache/$VERSION.raw $DEST/images/$VERSION.raw display_alert "Done building" "$DEST/images/$VERSION.raw" "info" diff --git a/documentation/geek-faq.md b/documentation/geek-faq.md index ecc43fd248..8b506403e8 100644 --- a/documentation/geek-faq.md +++ b/documentation/geek-faq.md @@ -57,7 +57,8 @@ Run the script - **EXPERIMENTAL_DEBOOTSTRAP** (yes|**no**): use new debootstrap and image creation process. NOTE: work in progress, it may not create proper images for some boards yet - **FORCE_USE_RAMDISK** (yes|no): overrides autodetect for using tmpfs in new debootstrap and image creation process. Takes effect only if `EXPERIMENTAL_DEBOOTSTRAP` is set to "yes" - **FIXED_IMAGE_SIZE** (integer): create image file of this size (in megabytes) instead of minimal. Takes effect only if `EXPERIMENTAL_DEBOOTSTRAP` is set to "yes" -- **USE_F2FS_ROOT** (yes|**no**): create image with [F2FS](https://en.wikipedia.org/wiki/F2FS) root filesystem instead of ext4. Requires setting `FIXED_IMAGE_SIZE` to actual size of your SD card. Takes effect only if `EXPERIMENTAL_DEBOOTSTRAP` is set to "yes" +- **COMPRESS_OUTPUTIMAGE** (**yes**|no): create image file of this size (in megabytes) instead of minimal. Takes effect only if `EXPERIMENTAL_DEBOOTSTRAP` is set to "yes" +- **USE_F2FS_ROOT** (yes|**no**): create ZIP archive of RAW image. Takes effect only if `EXPERIMENTAL_DEBOOTSTRAP` is set to "yes" ### Supplying options via command line parameters Instead of editing compile.sh to set options, you can set them by supplying command line parameters to compile.sh