Meta: Increase additional space for disk images

Previously we'd add 100MB on top of what du returned for the Root
directory. This increases that to 500MB.
This commit is contained in:
Gunnar Beutner 2021-06-15 15:14:58 +02:00 committed by Andreas Kling
parent 0ca5a393d1
commit 6e094b8dbe
Notes: sideshowbarker 2024-07-18 12:08:27 +09:00

View file

@ -27,7 +27,7 @@ else
fi
}
DISK_SIZE=$(($(disk_usage "$SERENITY_SOURCE_DIR/Base") + $(disk_usage Root) + 100))
DISK_SIZE=$(($(disk_usage "$SERENITY_SOURCE_DIR/Base") + $(disk_usage Root) + 500))
DISK_SIZE=${DISK_SIZE:-600}
DISK_SIZE_BYTES=$((DISK_SIZE * 1024 * 1024))
unset DISK_SIZE