Re: pxeboot binary is too big on FreeBSD (>640KBytes)

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Mon, 21 Feb 2022 15:03:44 UTC
On 21 Feb 2022, at 7:43, Hans Petter Selasky wrote:

> FYI:
>
> After a lot of digging trying everything, I found that the pxeboot and 
> loader.efi was too big simply due to ZFS support.
>
> So I did this after buildworld:
>
> cd /usr/src/stand
> make WITHOUT_LOADER_ZFS=YES clean
> make WITHOUT_LOADER_ZFS=YES all
> make WITHOUT_LOADER_ZFS=YES install
>
> And now it works, with my old GigaByte mainboard!
>
> Why should pxeboot have ZFS support?
>
> https://forums.freebsd.org/threads/problem-with-isc-dhcpd-and-diskless-booting.82199/

Well actually it started with a lua update;  pxeboot 4th is not (or was 
not) too big and still working.

See PR 257018 .