Added new hidden switch to disable image ZIP creation
This commit is contained in:
parent
07b6285bd0
commit
95257be703
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user