Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv19746/scripts/scripts
Modified Files:
install-on-usb
Log Message:
forgot to use the PARTITION and DISC variables
Index: install-on-usb
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/install-on-usb,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- install-on-usb 9 Nov 2003 15:24:36 -0000 1.10
+++ install-on-usb 16 Nov 2003 13:51:39 -0000 1.11
@@ -181,9 +181,9 @@
echo installing MBR
SIZE=$(du -b ./tmp/mnt1/boot/syslinux/mbr.bin | cut -f 1 )
- dd if=./tmp/mnt1/boot/syslinux/mbr.bin of=/dev/sda count=$SIZE || return 1
+ dd if=./tmp/mnt1/boot/syslinux/mbr.bin of=$DEVICE count=$SIZE || return 1
echo installing SysLinux boot sector
- ./tmp/mnt1/boot/syslinux/syslinux-nomtools /dev/sda1 || return 1
+ ./tmp/mnt1/boot/syslinux/syslinux-nomtools $PARTITION || return 1
mount -t auto $PARTITION ./tmp/mnt2 || return 1
|