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

This commit is contained in:
Oliver Grawert 2010-07-22 09:10:55 +02:00
parent 65d0700611
commit 39cd4aa3d3
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -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 ]

View File

@ -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