summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-08 11:37:17 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commitca9f7bf33e3c666b66ef346d0e16608ba3f6229e (patch)
treeb9c90d01d09327f95d18c73ba63ab8903252d9ab
parent5d589646a57ad22901795141619ab258d8fe97ee (diff)
downloadlive-build-ca9f7bf33e3c666b66ef346d0e16608ba3f6229e.zip
live-build-ca9f7bf33e3c666b66ef346d0e16608ba3f6229e.tar.gz
Creating win32-loader.ini in win32-loader helper script.
-rwxr-xr-xhelpers/lh_binary_win32-loader18
1 files changed, 18 insertions, 0 deletions
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