]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Change EXT3FS to FSIMG
authorWill Woods <wwoods@redhat.com>
Tue, 8 Mar 2011 23:35:14 +0000 (18:35 -0500)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Mar 2011 11:09:24 +0000 (12:09 +0100)
Change the EXT3FS variable to FSIMG, since we might want to use other
filesystems as our live root. Change comments to reflect this fact.

modules.d/90dmsquash-live/dmsquash-live-root

index e7c962643131e94228ddedeb7c2303039be4efac..95ef05dc3fe5fc8ef657274740434efe46b3971e 100755 (executable)
@@ -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