From 6eb4e2236ab555d5cbae33620a35c2edc8fbb36e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 2 Jan 2013 11:19:20 +0100 Subject: Only including gtk d-i in win32-loader config if available on the target image. --- scripts/build/binary_win32-loader | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3