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 cc09794 commit 4aa23faCopy full SHA for 4aa23fa
include/bootstrap/rootfs/deploy.sh
@@ -44,8 +44,8 @@ rootfs_make()
44
local available_size=$(stat -c %a -f "${TARGET_PATH%/*}")
45
let available_size="${block_size}*${available_size}+${file_size}"
46
let DISK_SIZE="(${available_size}-${available_size}/10)/1048576"
47
- if [ "${DISK_SIZE}" -gt 4095 ]; then
48
- DISK_SIZE=4095
+ if [ "${DISK_SIZE}" -gt 2047 ]; then
+ DISK_SIZE=2047
49
fi
50
if [ "${DISK_SIZE}" -lt 512 ]; then
51
DISK_SIZE=512
0 commit comments