Do really not create the filesystem with parted.

This commit is contained in:
Daniel Baumann 2007-11-14 23:04:24 +01:00
parent 6edcf23b29
commit 2e51237e12
2 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ Losetup $FREELO chroot/binary.img 0
case "${LH_CHROOT_BUILD}" in case "${LH_CHROOT_BUILD}" in
enabled) enabled)
Chroot "parted -s ${FREELO} mklabel msdos" || true Chroot "parted -s ${FREELO} mklabel msdos" || true
Chroot "parted -s ${FREELO} mkpart primary fat16 0.0 100%" || true Chroot "parted -s ${FREELO} mkpart primary 0.0 100%" || true
Chroot "parted -s ${FREELO} set 1 boot on" || true Chroot "parted -s ${FREELO} set 1 boot on" || true
Chroot "parted -s ${FREELO} set 1 lba off" || true Chroot "parted -s ${FREELO} set 1 lba off" || true
@ -111,7 +111,7 @@ case "${LH_CHROOT_BUILD}" in
disabled) disabled)
parted -s ${FREELO} mklabel msdos || true parted -s ${FREELO} mklabel msdos || true
parted -s ${FREELO} mkpart primary fat16 0.0 100% || true parted -s ${FREELO} mkpart primary 0.0 100% || true
parted -s ${FREELO} set 1 boot on || true parted -s ${FREELO} set 1 boot on || true
parted -s ${FREELO} set 1 lba off || true parted -s ${FREELO} set 1 lba off || true

View File

@ -86,7 +86,7 @@ fi
echo "!!! The following error/warning messages can be ignored !!!" echo "!!! The following error/warning messages can be ignored !!!"
Losetup $FREELO source.img 0 Losetup $FREELO source.img 0
Chroot "parted -s ${FREELO} mklabel msdos" || true Chroot "parted -s ${FREELO} mklabel msdos" || true
Chroot "parted -s ${FREELO} mkpart primary fat16 0.0 100%" || true Chroot "parted -s ${FREELO} mkpart primary 0.0 100%" || true
Chroot "parted -s ${FREELO} set 1 lba off" || true Chroot "parted -s ${FREELO} set 1 lba off" || true
${LH_LOSETUP} -d ${FREELO} ${LH_LOSETUP} -d ${FREELO}