Compare commits

..

No commits in common. "8fc62ba8da80bf3337312d7d5c1e20f38835040e" and "d53d8eb4d01ce5a33e343bf1996ac3409586c58f" have entirely different histories.

View file

@ -189,8 +189,7 @@ create_persistence_partition() {
rw_img_name="workbench_vfat.img"
rw_img_path="${ISO_PATH}/staging/${rw_img_name}"
if [ ! -f "${rw_img_path}" ] || [ "${DEBUG:-}" ] || [ "${FORCE:-}" ]; then
persistent_volume_size=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=10M count=1
${SUDO} mkfs.vfat "${rw_img_path}"
# generate structure on persistent partition
@ -382,7 +381,7 @@ prepare_chroot_env() {
if [ -z "${VERSION_CODENAME:-}" ]; then
. /etc/os-release
echo "TAKING OS-RELEASE FILE"
if [ ! "${ID}" = "debian" ]; then
if [ "${ID}" = "debian" ]; then
echo "ERROR: ubuntu detected, then you are enforced to specify debian variant"
echo " use for example \`VERSION_CODENAME='bookworm'\` or similar"
exit 1