Page MenuHomeFreeBSD

pxeboot: Enforce a 500k limit here
ClosedPublic

Authored by imp on Aug 2 2024, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 26, 10:52 PM
Unknown Object (File)
Oct 19 2024, 9:57 AM
Unknown Object (File)
Sep 28 2024, 11:16 AM
Unknown Object (File)
Sep 21 2024, 7:36 AM
Unknown Object (File)
Sep 20 2024, 1:42 PM
Unknown Object (File)
Sep 17 2024, 2:40 AM
Unknown Object (File)
Sep 13 2024, 4:40 PM
Unknown Object (File)
Sep 9 2024, 4:03 AM
Subscribers

Details

Summary

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 pxeboot
with the 4th one, for example.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Aug 2 2024, 5:55 PM
stand/i386/pxeldr/Makefile
52

Where does $5 come from?

stand/i386/pxeldr/Makefile
52

set -- will set $1 etc for the various columns in the ls output. The size is in column 5.

This revision is now accepted and ready to land.Aug 2 2024, 8:39 PM
imp retitled this revision from pxeldr: Enforce a 500k limit here to pxeboot: Enforce a 500k limit here.Aug 2 2024, 11:34 PM
imp edited the summary of this revision. (Show Details)

update per review, mostly ldr->boot

This revision now requires review to proceed.Aug 2 2024, 11:37 PM
This revision is now accepted and ready to land.Aug 6 2024, 1:16 PM
This revision was automatically updated to reflect the committed changes.