mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-05 07:41:31 +00:00
add -F to mke2fs so it actually formats our filesystem image
This commit is contained in:
parent
65d0700611
commit
39cd4aa3d3
6
debian/changelog
vendored
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
|
livecd-rootfs (1.139) maverick; urgency=low
|
||||||
|
|
||||||
[ Steve Langasek ]
|
[ Steve Langasek ]
|
||||||
|
@ -87,7 +87,7 @@ livefs_ext2()
|
|||||||
|
|
||||||
# create an empty ext2 image and loop mount it
|
# create an empty ext2 image and loop mount it
|
||||||
dd if=/dev/zero of=livecd.${FSS}.ext2 bs=1024 count=0 seek=$size
|
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}
|
mount -o loop=${DEV} livecd.${FSS}.ext2 ${MOUNTPOINT}
|
||||||
|
|
||||||
# copy chroot content to image
|
# copy chroot content to image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user