Attaching a 20_ipxe that does what I mentioned. I tried to keep the .diff minimal, by reusing the IPXEPATH variable:
22,29c22 < if [ "\$grub_platform" = "efi" ]; then < chainloader ${IPXEPATH%.lkrn}.efi < else < linux16 $IPXEPATH < if [ -f ${IPXEPATH%.lkrn}.ipxe ]; then < initrd16 ${IPXEPATH%.lkrn}.ipxe < fi < fi --- > linux16 $IPXEPATH
Attaching a 20_ipxe that does what I mentioned. I tried to keep the .diff minimal, by reusing the IPXEPATH variable:
22,29c22 .lkrn}. efi .lkrn}. ipxe ]; then .lkrn}. ipxe
< if [ "\$grub_platform" = "efi" ]; then
< chainloader ${IPXEPATH%
< else
< linux16 $IPXEPATH
< if [ -f ${IPXEPATH%
< initrd16 ${IPXEPATH%
< fi
< fi
---
> linux16 $IPXEPATH