[Debian-live-changes] r1175 - dists/trunk/live-helper/helpers

Daniel Baumann daniel at alioth.debian.org
Wed Apr 25 19:32:58 UTC 2007


Author: daniel
Date: 2007-04-25 19:32:58 +0000 (Wed, 25 Apr 2007)
New Revision: 1175

Modified:
   dists/trunk/live-helper/helpers/lh_binary_grub
Log:


Modified: dists/trunk/live-helper/helpers/lh_binary_grub
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_grub	2007-04-25 19:29:25 UTC (rev 1174)
+++ dists/trunk/live-helper/helpers/lh_binary_grub	2007-04-25 19:32:58 UTC (rev 1175)
@@ -178,6 +178,14 @@
 then
 	MEMTEST="title\t\t${LIVE_MEMTEST}\nkernel\t\t/`basename ${DESTDIR_LIVE}`/memtest"
 	MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"
+
+cat >> binary/boot/grub/menu.lst << EOF
+
+title		Other:
+root
+
+LIVE_MEMTEST
+EOF
 fi
 
 # Copying templates
@@ -217,15 +225,6 @@
 fi
 
 # Configure grub templates
-cat >> binary/boot/grub/menu.lst << EOF
-# This is a divider, added to separate the menu items below from the Debian
-# ones.
-title		Other:
-root
-
-LIVE_MEMTEST
-EOF
-
 sed -i -e "s#LIVE_KERNEL_LIVE#${LINUX}#" -e "s#LIVE_KERNEL_INSTALL#${LIVE_KERNEL_INSTALL}#" -e "s#LIVE_MEMTEST#${MEMTEST}#" binary/boot/grub/menu.lst
 sed -i -e "s#LIVE_BOOTAPPEND#${LIVE_BOOTAPPEND}#" binary/boot/grub/menu.lst
 




More information about the Debian-live-changes mailing list