diff --git a/assemble_image.sh b/assemble_image.sh index 97100b9ec359aed1da0615b413d6ab5743355095..13de324340b57a4be6261a0838a2ef531434c4df 100755 --- a/assemble_image.sh +++ b/assemble_image.sh @@ -25,7 +25,7 @@ rm -rf "$workspace/part_files"/grub cp "$iso_file" "$workspace/part_files/kubuntu.iso" -rm "$workspace/part.img" +rm -f "$workspace/part.img" truncate -s "$image_size" "$workspace/part.img" mkfs.vfat -n "LIPSTICK" "$workspace/part.img" MTOOLS_SKIP_CHECK=1 mcopy -i "$workspace/part.img" -b -s -v "$workspace/part_files"/* ::