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

Auke Kok sofar at lunar-linux.org
Mon May 16 23:20:25 UTC 2005


Author: sofar
Date: 2005-05-16 23:20:24 +0000 (Mon, 16 May 2005)
New Revision: 14780

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
This should get us one step ahead. Still need to fix the plugins as well.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-16 23:16:24 UTC (rev 14779)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-16 23:20:24 UTC (rev 14780)
@@ -486,16 +486,20 @@
 {
     GRUB_ROOT=$(map_to_grub /dev/discs/$ROOT)
     GRUB_DISC=$(echo $GRUB_ROOT | cut -d, -f1)
-    # filty trick to make kernel compiles work later on:
-    export GRUB_ROOT GRUB_DISC
     
     (
       echo "root ($GRUB_DISC,0)"
       echo "setup ($GRUB_DISC)"
       echo "quit"
     ) | grub
+
     echo "grub was installed on the MBR of $GRUB_DISC"
     sleep 2
+
+    # filty trick to make kernel compiles work later on:
+    GRUB_ROOT="($GRUB_ROOT)"
+    GRUB_BOOT=/boot
+    export GRUB_ROOT GRUB_BOOT
 }
 
 



More information about the Lunar-commits mailing list