|
From: Heiko Z. <smi...@us...> - 2005-10-22 03:07:50
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3319/config/etc/initrd Modified Files: Tag: rel-1-2-patches mount_cdrom Log Message: the new busybox needs a loop device specified Index: mount_cdrom =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v retrieving revision 1.25.2.6 retrieving revision 1.25.2.7 diff -u -d -r1.25.2.6 -r1.25.2.7 --- mount_cdrom 15 Jun 2005 13:44:50 -0000 1.25.2.6 +++ mount_cdrom 22 Oct 2005 03:07:42 -0000 1.25.2.7 @@ -90,7 +90,7 @@ echo "Upgrading System Boot Files" $NORMAL - mount -o loop -t iso9660 /mnt/bootcd.iso /cdrom + mount -o loop=/dev/loop0 -t iso9660 /mnt/bootcd.iso /cdrom cp -fp /cdrom/boot/* /mnt/boot/ 2> /dev/null cp -fp /cdrom/DEVIL-LINUX /mnt/ @@ -101,7 +101,7 @@ #$GREEN #echo "Mounting old version" #$NORMAL - mount -o loop -t iso9660 /mnt/bootcd.iso.old $1 || return 1 + mount -o loop=/dev/loop0 -t iso9660 /mnt/bootcd.iso.old $1 || return 1 # check if the DL ISO got upgraded cd /cdrom #change to new root @@ -124,7 +124,7 @@ # because bootcd.iso is still mounted inside it. # RO will make it less painfull. mount -o remount,ro,noatime $disk 2> /dev/null - mount -o loop -t iso9660 /mnt/bootcd.iso $1 || return 1 + mount -o loop=/dev/loop0 -t iso9660 /mnt/bootcd.iso $1 || return 1 echo $disk > /shm/DL_DEVICE dl_version=`cat /mnt/DEVIL-LINUX 2> /dev/null` if [ "$3" != "silent" ]; then |