add -F to mke2fs so it actually formats our filesystem image

ubuntu/precise
Oliver Grawert 15 years ago
parent 65d0700611
commit 39cd4aa3d3

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (1.140) UNRELEASED; urgency=low
* tell mke2fs that we _really_ want a filesystem on this "non-blockdevice"
-- Oliver Grawert <ogra@ubuntu.com> Thu, 22 Jul 2010 09:08:14 +0200
livecd-rootfs (1.139) maverick; urgency=low
[ Steve Langasek ]

@ -87,7 +87,7 @@ livefs_ext2()
# create an empty ext2 image and loop mount it
dd if=/dev/zero of=livecd.${FSS}.ext2 bs=1024 count=0 seek=$size
mke2fs livecd.${FSS}.ext2
mke2fs -F livecd.${FSS}.ext2
mount -o loop=${DEV} livecd.${FSS}.ext2 ${MOUNTPOINT}
# copy chroot content to image

Loading…
Cancel
Save