deploy-workbench: increase persistence partition
allow more snapshots on the persistence partition from 10 to 100 MiB
This commit is contained in:
parent
d53d8eb4d0
commit
f1de55e0b3
|
@ -189,7 +189,8 @@ create_persistence_partition() {
|
||||||
rw_img_name="workbench_vfat.img"
|
rw_img_name="workbench_vfat.img"
|
||||||
rw_img_path="${ISO_PATH}/staging/${rw_img_name}"
|
rw_img_path="${ISO_PATH}/staging/${rw_img_name}"
|
||||||
if [ ! -f "${rw_img_path}" ] || [ "${DEBUG:-}" ] || [ "${FORCE:-}" ]; then
|
if [ ! -f "${rw_img_path}" ] || [ "${DEBUG:-}" ] || [ "${FORCE:-}" ]; then
|
||||||
${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=10M count=1
|
persistent_volume_size=100
|
||||||
|
${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=1M count=${persistent_volume_size}
|
||||||
${SUDO} mkfs.vfat "${rw_img_path}"
|
${SUDO} mkfs.vfat "${rw_img_path}"
|
||||||
|
|
||||||
# generate structure on persistent partition
|
# generate structure on persistent partition
|
||||||
|
|
Loading…
Reference in New Issue