deploy-workbench.sh: clearer persistence size
This commit is contained in:
parent
8fc62ba8da
commit
a47fab6c35
|
@ -189,8 +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
|
||||||
persistent_volume_size=100
|
persistent_volume_size_MB=100
|
||||||
${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=1M count=${persistent_volume_size}
|
${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=1M count=${persistent_volume_size_MB}
|
||||||
${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