Change EXT3FS to FSIMG

Change the EXT3FS variable to FSIMG, since we might want to use other
filesystems as our live root. Change comments to reflect this fact.
master
Will Woods 2011-03-08 18:35:14 -05:00 committed by Harald Hoyer
parent 44159d0598
commit dfec8467b9
1 changed files with 5 additions and 5 deletions

View File

@ -124,19 +124,19 @@ if [ -n "$OSMINSQFS" ]; then
umount -l /squashfs.osmin
fi

# we might have just an embedded ext3 to use as rootfs (uncompressed live)
# we might have an embedded fs image to use as rootfs (uncompressed live)
if [ -e /dev/.initramfs/live/${live_dir}/ext3fs.img ]; then
EXT3FS="/dev/.initramfs/live/${live_dir}/ext3fs.img"
FSIMG="/dev/.initramfs/live/${live_dir}/ext3fs.img"
fi

if [ -n "$EXT3FS" ] ; then
if [ -n "$FSIMG" ] ; then
BASE_LOOPDEV=$( losetup -f )
losetup -r $BASE_LOOPDEV $EXT3FS
losetup -r $BASE_LOOPDEV $FSIMG

do_live_from_base_loop
fi

# we might have an embedded ext3 on squashfs to use as rootfs (compressed live)
# we might have an embedded fs image on squashfs (compressed live)
if [ -e /dev/.initramfs/live/${live_dir}/squashfs.img ]; then
SQUASHED="/dev/.initramfs/live/${live_dir}/squashfs.img"
fi