HomeFreeBSD

pxeboot: Enforce a 500k limit here

Description

pxeboot: Enforce a 500k limit here

Have a separate PXEBOOTSIZE variable that acts much like LOADERSIZE
variable to limit the size of the loader used for pxeldr. This allows
people to override it independently of LOADERSIZE, which they may need
to set larger for other reasons. Combined with PXEBOOT_DEFAULT_INTERP,
you can build a larger lua loader, while still being able to build pxeldr
with the 4th one, for example.

MFC After: 3 days
Sponsored by: Netflix
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46214

(cherry picked from commit e1a6d93155cea7fbb038dee671ecf005c4846fd3)

Details

Provenance
impAuthored on Aug 5 2024, 9:19 PM
Reviewer
markj
Differential Revision
D46214: pxeboot: Enforce a 500k limit here
Parents
rGc19ac840d345: pxeboot: Allow a different default loader for pxeboot
Branches
Unknown
Tags
Unknown