diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-02 11:19:20 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-01-02 11:19:20 +0100 |
commit | 6eb4e2236ab555d5cbae33620a35c2edc8fbb36e (patch) | |
tree | 70bb3ee75391c4b6bc89e8d0c4fafb823e469eb1 /scripts/build/binary_win32-loader | |
parent | fd5c4609e9f79160cb29f94aba2db72cc4f19e80 (diff) | |
download | vyos-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/binary_win32-loader')
-rwxr-xr-x | scripts/build/binary_win32-loader | 11 |
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 |