Page MenuHomeFreeBSD

loader: Fix loader_brand = none
ClosedPublic

Authored by manu on Jun 16 2025, 12:24 PM.
Tags
None
Referenced Files
F159579370: D50875.diff
Mon, Jun 15, 9:20 PM
Unknown Object (File)
Thu, Jun 4, 2:07 PM
Unknown Object (File)
Thu, Jun 4, 4:30 AM
Unknown Object (File)
Fri, May 29, 4:30 PM
Unknown Object (File)
Fri, May 29, 4:35 AM
Unknown Object (File)
Thu, May 28, 9:03 PM
Unknown Object (File)
Thu, May 28, 11:08 AM
Unknown Object (File)
Wed, May 27, 2:15 PM
Subscribers

Details

Summary

Setting loader_brand to none in loader.conf now result in a lua error
as we try to get a non-existant table
Defines it

Fixes: bef6d85b6de5 ("lualoader: allow graphical bits to be disabled with loader_gfx")
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

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

Event Timeline

manu requested review of this revision.Jun 16 2025, 12:24 PM
stand/lua/drawer.lua
473

I think the typo is really that this should have been ascii = rather than fb = -- the rest of drawbrand is designed to handle that. The fb entry can go away entirely, nad the above chunk isn't needed.

stand/lua/drawer.lua
473

Indeed, fixed.

This revision is now accepted and ready to land.Jun 16 2025, 3:19 PM
This revision was automatically updated to reflect the committed changes.