]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
dmsquash-live: do not umount /dev/.initramfs/live for cdrom_id to work
authorHarald Hoyer <harald@redhat.com>
Fri, 9 Jul 2010 09:18:31 +0000 (11:18 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 9 Jul 2010 09:18:31 +0000 (11:18 +0200)
modules.d/90dmsquash-live/dmsquash-live-root

index dc7c737a5a44384bbd797f0cdebadc6b0696dc65..1b7fe192ef5aa7c6bf06abcbc33472c2802cfeca 100755 (executable)
@@ -130,7 +130,6 @@ fi
 if [ -n "$EXT3FS" ] ; then
     BASE_LOOPDEV=$( losetup -f )
     losetup -r $BASE_LOOPDEV $EXT3FS
-    umount -l /dev/.initramfs/live
 
     do_live_from_base_loop
 fi
@@ -160,9 +159,6 @@ if [ -e "$SQUASHED" ] ; then
     losetup -r $BASE_LOOPDEV /squashfs/LiveOS/ext3fs.img
 
     umount -l /squashfs
-    if [ -z "$live_ram" ] ; then
-        umount -l /dev/.initramfs/live
-    fi
 
     do_live_from_base_loop
 fi