realmfs-builder: stage-one no longer fails silently when out of disk space
increased citadel-realmfs.img to 1.7G
This commit is contained in:
parent
67f2251804
commit
17b8758e0f
@ -105,10 +105,10 @@ generate_image() {
|
||||
# BLOCKS=$(expr ${BLOCKS} \* 12 / 10)
|
||||
# SIZE=$(expr ${BLOCKS} \* 1024)
|
||||
# echo "Size is ${SIZE}"
|
||||
BLOCKS=$(expr 340 \* 1024)
|
||||
BLOCKS=$(expr 440 \* 1024)
|
||||
# allow online resize up to 32G
|
||||
dd if=/dev/zero of=${WORKDIR}/citadel-realmfs.ext4 seek=${BLOCKS} count=0 bs=4096
|
||||
mkfs.ext4 -d ${ROOTFS} -i 4096 -b 4096 -F ${WORKDIR}/citadel-realmfs.ext4 ${BLOCKS}
|
||||
mkfs.ext4 -d ${ROOTFS} -i 4096 -b 4096 -F ${WORKDIR}/citadel-realmfs.ext4 ${BLOCKS} || exit 1
|
||||
}
|
||||
|
||||
usage() {
|
||||
|
Loading…
Reference in New Issue
Block a user