summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-02 11:19:20 +0100
committerDaniel Baumann <daniel@debian.org>2013-01-02 11:19:20 +0100
commit6eb4e2236ab555d5cbae33620a35c2edc8fbb36e (patch)
tree70bb3ee75391c4b6bc89e8d0c4fafb823e469eb1 /scripts/build
parentfd5c4609e9f79160cb29f94aba2db72cc4f19e80 (diff)
downloadvyos-live-build-6eb4e2236ab555d5cbae33620a35c2edc8fbb36e.tar.gz
vyos-live-build-6eb4e2236ab555d5cbae33620a35c2edc8fbb36e.zip
Only including gtk d-i in win32-loader config if available on the target image.
Diffstat (limited to 'scripts/build')
-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 1dc8cdc0e..d2eac8786 100755
--- a/scripts/build/binary_win32-loader
+++ b/scripts/build/binary_win32-loader
@@ -88,8 +88,19 @@ cat > binary/win32-loader.ini << EOF
arch=${LB_ARCHITECTURES}
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