gcloop fix
authorBrad House <brad_mssw@gentoo.org>
Sat, 14 Feb 2004 17:21:13 +0000 (17:21 +0000)
committerBrad House <brad_mssw@gentoo.org>
Sat, 14 Feb 2004 17:21:13 +0000 (17:21 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@75 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index 0cf93c593c3bbad0ac0587cb6ca813ec33739ef0..49e6405aefbf3348a3a058522093fe64aba675fd 100644 (file)
@@ -240,7 +240,7 @@ then
                check_loop
                mount -o bind /newroot/dev /dev
                echo "STEP 5a1: mounting gcloop (ext2) filesystem"
-               echo " " | losetup -e ucl-0 /newroot/dev/loop0 /newroot/mnt/cdrom/${LOOP}
+               echo " " | losetup -e ucl-0 -p0 /newroot/dev/loop0 /newroot/mnt/cdrom/${LOOP}
                if [ "$?" != "0" ]
                then
                        echo "FAILED TO losetup THE LOOP DEVICE"