[SLOF] [PATCH] libnet/Makefile: Define DHCPARCH in CFLAGS
thuth at redhat.com
Fri Jun 23 16:33:51 AEST 2017
On 22.06.2017 21:11, Murilo Opsfelder Araujo wrote:
> Some applications, e.g. https://maas.io/, trust on the dhcp code 93
> option to reply the correct pxelinux.0 file according to client
> Today, dhcp.c is compiled without DHCPARCH, which causes it not to
> send client architecture in the dhcp request, i.e. dhcpd server can
> reply a pxelinux.0 binary that is not intended for client
Funnily, the original commit (37826933b20b0eddb84) that introduced the
code stated in the commit message: "Set the qemu-board DHCPARCH type to
0x0c which is the correct value for slof." - but it did not do that.
Looks like some hunks got lost there.
More information about the SLOF