mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
Change default debootstrap settings
This commit is contained in:
@@ -475,7 +475,7 @@ create_image()
|
||||
cd $CACHEDIR/
|
||||
|
||||
# stage: compressing or copying image file
|
||||
if [[ -n $FIXED_IMAGE_SIZE || $COMPRESS_OUTPUTIMAGE == no ]]; then
|
||||
if [[ $COMPRESS_OUTPUTIMAGE != yes ]]; then
|
||||
display_alert "Copying image file" "$VERSION.raw" "info"
|
||||
mv -f $CACHEDIR/$VERSION.raw $DEST/images/$VERSION.raw
|
||||
display_alert "Done building" "$DEST/images/$VERSION.raw" "info"
|
||||
|
||||
@@ -293,7 +293,7 @@ if [[ $GPG_PASS != "" ]] ; then
|
||||
fi
|
||||
display_alert "Signing and compressing" "Please wait!" "info"
|
||||
mkdir -p $DEST/images
|
||||
if [[ $COMPRESS_OUTPUTIMAGE == no ]]; then
|
||||
if [[ $COMPRESS_OUTPUTIMAGE != yes ]]; then
|
||||
rm -f *.asc imagewriter.* armbian.txt
|
||||
mv *.raw $DEST/images/
|
||||
else
|
||||
|
||||
@@ -65,10 +65,10 @@ Run the script
|
||||
- **PROGRESS_DISPLAY** (none|plain|**dialog**): way to display output of verbose processes - compilation, packaging, debootstrap
|
||||
- **PROGRESS_LOG_TO_FILE** (yes|**no**): duplicate output, affected by previous option, to log files `output/debug/*.log`
|
||||
- **USE_MAINLINE_GOOGLE_MIRROR** (yes|**no**): use `googlesource.com` mirror for downloading mainline kernel sources, may be faster than `git.kernel.org` depending on your location
|
||||
- **EXTENDED_DEBOOTSTRAP** (yes|**no**): use new debootstrap and image creation process
|
||||
- **EXTENDED_DEBOOTSTRAP** (**yes**|no): use new debootstrap and image creation process
|
||||
- **FORCE_USE_RAMDISK** (yes|no): overrides autodetect for using tmpfs in new debootstrap and image creation process. Takes effect only if `EXTENDED_DEBOOTSTRAP` is set to "yes"
|
||||
- **FIXED_IMAGE_SIZE** (integer): create image file of this size (in megabytes) instead of minimal. Takes effect only if `EXTENDED_DEBOOTSTRAP` is set to "yes"
|
||||
- **COMPRESS_OUTPUTIMAGE** (**yes**|no): create compressed archive with image file and GPG signature for redistribution
|
||||
- **COMPRESS_OUTPUTIMAGE** (yes|**no**): create compressed archive with image file and GPG signature for redistribution
|
||||
- **SEVENZIP** (yes|**no**): create .7z archive with extreme compression ratio instead of .zip
|
||||
- **ROOTFS_TYPE** (**ext4**|f2fs|btrfs|nfs|fel): create image with different root filesystems instead of default ext4. Requires setting FIXED_IMAGE_SIZE to actual size of your SD card for F2FS and BTRFS. Takes effect only if `EXTENDED_DEBOOTSTRAP` is set to "yes"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user