Open ghost opened 8 years ago
try fallocate -l $imagesize "$install_path"
If you get it working, perhaps make it conditional for ext4 instead of dd (lil'debi is a work-in-progress community effort, so it's good to leave the old way in the file for other hackers to see incase they need to debug stuff)
Then make a pull request?
Created debian.img had size of 1MB. I must change script create-debian-setup.sh on line 68, from:
dd if=/dev/zero of=$install_path seek=$imagesize bs=1M count=1
to:dd if=/dev/zero of=$install_path bs=1M count=$imagesize
.