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, Sep 28, 11:16 AM
Unknown Object (File)
Sat, Sep 21, 7:36 AM
Unknown Object (File)
Fri, Sep 20, 1:42 PM
Unknown Object (File)
Tue, Sep 17, 2:40 AM
Unknown Object (File)
Fri, Sep 13, 4:40 PM
Unknown Object (File)
Mon, Sep 9, 4:03 AM
Unknown Object (File)
Mon, Sep 9, 3:06 AM
Unknown Object (File)
Sun, Sep 8, 10:46 PM
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.