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

Daniel Baumann daniel at alioth.debian.org
Wed Apr 25 16:00:04 UTC 2007


Author: daniel
Date: 2007-04-25 16:00:04 +0000 (Wed, 25 Apr 2007)
New Revision: 1166

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


Modified: dists/trunk/live-helper/helpers/lh_binary_syslinux
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_syslinux	2007-04-25 15:48:41 UTC (rev 1165)
+++ dists/trunk/live-helper/helpers/lh_binary_syslinux	2007-04-25 16:00:04 UTC (rev 1166)
@@ -172,6 +172,17 @@
 # Removing '//'
 LINUX="`echo ${LINUX} | sed -e 's#//#/#g'`"
 
+# Assembling debian installer configuration
+if [ "${LIVE_INSTALLER}" = "enabled" ]
+then
+	LIVE_KERNEL_INSTALL="LABEL install\n\tkernel /`basename ${DESTDIR}`/vmlinuz\n\tappend vga=normal initrd=/`basename ${DESTDIR}`/initrd.gz -- \n\nLABEL linux\n\tkernel /`basename ${DESTDIR}`/vmlinuz\n\tappend vga=normal initrd=/`basename ${DESTDIR}`/initrd.gz -- \n\nLABEL expert\n\tkernel /`basename ${DESTDIR}`/vmlinuz\n\tappend priority=low vga=normal initrd=/`basename ${DESTDIR}`/initrd.gz -- \n\nLABEL rescue\n\tkernel /`basename ${DESTDIR}`/vmlinuz\n\tappend vga=normal initrd=/`basename ${DESTDIR}`/initrd.gz rescue/enable=true -- \n\nLABEL auto\n\tkernel /`basename ${DESTDIR}`/vmlinuz\n\tappend auto=true priority=critical vga=normal initrd=/`basename ${DESTDIR}`/initrd.gz -- "
+
+	if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ] || [ "${LIVE_ARCHITECTURE}" = "powerpc" ]
+	then
+		LIVE_KERNEL_INSTALL="${LIVE_KERNEL_INSTALL}\n\nLABEL installgui\n\tkernel /install/vmlinuz\n\tappend video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz -- \n\nLABEL expertgui\n\tkernel /install/vmlinuz\n\tappend priority=low video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz -- \n\nLABEL rescuegui\n\tkernel /install/vmlinuz\n\tappend video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz rescue/enable=true --  \n\nLABEL autogui\n\tkernel /install/vmlinuz\n\tappend auto=true priority=critical video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz -- "
+	fi
+fi
+
 # Assembling memtest configuration
 if [ -f "${DESTDIR}"/memtest ]
 then




More information about the Debian-live-changes mailing list