Only including gtk d-i in win32-loader config if available on the target image.
This commit is contained in:
parent
d9a9925b31
commit
96081d87c8
|
@ -88,8 +88,19 @@ cat > binary/win32-loader.ini << EOF
|
||||||
arch=${LIVE_IMAGE_ARCHITECTURE}
|
arch=${LIVE_IMAGE_ARCHITECTURE}
|
||||||
i386/linux=install/vmlinuz
|
i386/linux=install/vmlinuz
|
||||||
i386/initrd=install/initrd.gz
|
i386/initrd=install/initrd.gz
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if [ -e install/gtk ]
|
||||||
|
then
|
||||||
|
|
||||||
|
cat >> binary/win32-loader.ini << EOF
|
||||||
i386/gtk/linux=install/vmlinuz
|
i386/gtk/linux=install/vmlinuz
|
||||||
i386/gtk/initrd=install/gtk/initrd.gz
|
i386/gtk/initrd=install/gtk/initrd.gz
|
||||||
|
EOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >> binary/win32-loader.ini << EOF
|
||||||
|
|
||||||
[grub]
|
[grub]
|
||||||
g2ldr=g2ldr
|
g2ldr=g2ldr
|
||||||
|
|
Loading…
Reference in New Issue