[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

partial fix for ISOLINUX_DEFAULT



looking at debian-cd svn, i noticed that there was a FIXME for supporting
ISOLINUX_DEFAULT.

this very imperfect patch at the very least gets installgui working with the
menus, to make Graphical Install the default menu selection, although it relies
on text.cfg getting loaded before gtk.cfg:

Index: tools/boot/lenny/boot-x86
===================================================================
--- tools/boot/lenny/boot-x86	(revision 1828)
+++ tools/boot/lenny/boot-x86	(working copy)
@@ -237,8 +237,9 @@
 	# FIXME - this is broken for the current setup which no longer
 	# has a 'default' statement in isolinux.cfg
 	if [ -n "$ISOLINUX_DEFAULT" ]; then
-		sed -i "s/^DEFAULT .*$/DEFAULT $ISOLINUX_DEFAULT/" \
-			boot$N/isolinux/isolinux.cfg
+		case $ISOLINUX_DEFAULT in
+			installgui) echo menu default >> boot$N/isolinux/gtk.cfg ;;
+		esac
 	fi
 
 	if [ -z "$MULTIARCH" ]; then


i'm also curious if there is there a planned timeline to upload debian-cd to
unstable soon?

live well,
  vagrant


Reply to: