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

Bug#518807: debian-cd: Put back install.bat on x86 images



Package: debian-cd
Severity: normal
Tags: patch

Hello,

There used to be an install.bat file on x86 images that uses loadlin to
boot d-i from DOS.  For old reasons it was not there any more.  The 
attached patch puts it back.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
X-Favorit-Cartoon: Calvin and Hobbes
 -+- Mail header of Wim van Dorst -+-
Index: tools/boot/squeeze/boot-x86
===================================================================
--- tools/boot/squeeze/boot-x86	(révision 1882)
+++ tools/boot/squeeze/boot-x86	(copie de travail)
@@ -142,6 +142,9 @@
 		else
 			wget "$DI_WWW_HOME/cdrom/$image" -O $CDDIR/$INSTALLDIR/"$image"
 		fi
+		kernel_param=
+		[ "$dir" = gtk ] && kernel_param="video=vesa:ywrap,mtrr vga=788"
+		echo "\\tools\\loadlin.exe \\$INSTALLDIR\\vmlinuz initrd=initrd.gz $kernel_param" | todos > $CDDIR/$INSTALLDIR/$dir/install.bat
 	fi
 }
 
@@ -169,6 +172,7 @@
 	mkdir -p $CDDIR/$INSTALLDIR
 	cp -lf cdrom/vmlinuz $CDDIR/$INSTALLDIR/
 	cp -lf cdrom/initrd.gz $CDDIR/$INSTALLDIR/
+	echo "\\tools\\loadlin.exe vmlinuz initrd=initrd.gz" | todos > $CDDIR/$INSTALLDIR/install.bat
 
 	mkdir -p $CDDIR/../syslinux
 	SYSLINUXDEB=`$BASEDIR/tools/which_deb $MIRROR $DI_CODENAME syslinux`

Reply to: