From ca9f7bf33e3c666b66ef346d0e16608ba3f6229e Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 8 Feb 2009 11:37:17 +0100
Subject: Creating win32-loader.ini in win32-loader helper script.

---
 helpers/lh_binary_win32-loader | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/helpers/lh_binary_win32-loader b/helpers/lh_binary_win32-loader
index 536c828..1126f01 100755
--- a/helpers/lh_binary_win32-loader
+++ b/helpers/lh_binary_win32-loader
@@ -54,6 +54,24 @@ then
 			cp chroot/usr/lib/win32-loader/* binary
 			mv binary/win32-loader.exe binary/setup.exe
 
+			if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
+			then
+
+cat > binary/win32-loader.ini << EOF
+[installer]
+arch=${LH_ARCHITECTURE}
+i386/linux=install/vmlinuz
+i386/initrd=install/initrd.gz
+i386/gtk/linux=install/vmlinuz
+i386/gtk/initrd=install/gtk/initrd.gz
+
+[grub]
+g2ldr=g2ldr
+g2ldr.mbr=g2ldr.mbr
+EOF
+
+			fi
+
 			# Saving cache
 			Save_cache cache/packages_binary
 
-- 
cgit v1.0