summaryrefslogtreecommitdiff
path: root/scripts/build/binary_win32-loader
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-02 11:18:20 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:04 +0200
commiteaa015ed35fbda2259b71bb7b3689f2117f18b13 (patch)
tree03ebad9367315919f2027e6efee60e11c572bb9e /scripts/build/binary_win32-loader
parent1402ce72a991c12fe4f8a8a20f77e08a94a120b2 (diff)
downloadvyos-live-build-eaa015ed35fbda2259b71bb7b3689f2117f18b13.tar.gz
vyos-live-build-eaa015ed35fbda2259b71bb7b3689f2117f18b13.zip
Only including gtk d-i in win32-loader config if available on the target image.
Diffstat (limited to 'scripts/build/binary_win32-loader')
-rwxr-xr-xscripts/build/binary_win32-loader11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build/binary_win32-loader b/scripts/build/binary_win32-loader
index 6f831155f..8f33b57e3 100755
--- a/scripts/build/binary_win32-loader
+++ b/scripts/build/binary_win32-loader
@@ -88,8 +88,19 @@ cat > binary/win32-loader.ini << EOF
arch=${LIVE_IMAGE_ARCHITECTURE}
i386/linux=install/vmlinuz
i386/initrd=install/initrd.gz
+EOF
+
+ if [ -e install/gtk ]
+ then
+
+cat >> binary/win32-loader.ini << EOF
i386/gtk/linux=install/vmlinuz
i386/gtk/initrd=install/gtk/initrd.gz
+EOF
+
+ fi
+
+cat >> binary/win32-loader.ini << EOF
[grub]
g2ldr=g2ldr