We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3b639 commit 82a3fd2Copy full SHA for 82a3fd2
lib/functions/image/partitioning.sh
@@ -129,6 +129,9 @@ function prepare_partitions() {
129
# stage: calculate rootfs size
130
declare -g -i rootfs_size
131
rootfs_size=$(du --apparent-size -sm "${SDCARD}"/ | cut -f1) # MiB
132
+ if [[ $APA_IS_ACTIVE ]]; then # FIXME: APA takes up more space
133
+ rootfs_size=$(($rootfs_size*11/10))
134
+ fi
135
display_alert "Current rootfs size" "$rootfs_size MiB" "info"
136
137
call_extension_method "prepare_image_size" "config_prepare_image_size" <<- 'PREPARE_IMAGE_SIZE'
0 commit comments