[Lunar-commits] r14669 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Sun May 8 15:46:06 UTC 2005


Author: sofar
Date: 2005-05-08 15:46:04 +0000 (Sun, 08 May 2005)
New Revision: 14669

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Fix lilo up.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-08 15:17:41 UTC (rev 14668)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-08 15:46:04 UTC (rev 14669)
@@ -441,8 +441,9 @@
     if [ ! -f $TARGET/etc/lilo.conf ]; then
         cp /etc/lilo.conf $TARGET/etc/lilo.conf
     fi
+    DISC=$(echo $ROOT | sed 's/part.*/disc/')
     echo "" >> $TARGET/etc/lilo.conf
-    echo "boot=/dev/discs/disc" >> $TARGET/etc/lilo.conf
+    echo "boot=/dev/discs/$DISC" >> $TARGET/etc/lilo.conf
     echo "root=/dev/discs/$ROOT" >> $TARGET/etc/lilo.conf
     echo "" >> $TARGET/etc/lilo.conf
 }



More information about the Lunar-commits mailing list