mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
partitioning: do not force image size estimation for (potentially) compressed btrfs rootfs
This commit is contained in:
@@ -129,7 +129,7 @@ function prepare_partitions() {
|
||||
display_alert "Using user-defined image size" "$FIXED_IMAGE_SIZE MiB" "info"
|
||||
sdsize=$FIXED_IMAGE_SIZE
|
||||
# basic sanity check
|
||||
if [[ $ROOTFS_TYPE != nfs && $sdsize -lt $rootfs_size ]]; then
|
||||
if [[ $ROOTFS_TYPE != nfs && $ROOTFS_TYPE != btrfs && $sdsize -lt $rootfs_size ]]; then
|
||||
exit_with_error "User defined image size is too small" "$sdsize <= $rootfs_size"
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user