Page MenuHomeFreeBSD

loader: Fix loader_brand = none
ClosedPublic

Authored by manu on Jun 16 2025, 12:24 PM.
Tags
None
Referenced Files
F139439119: D50875.id157105.diff
Fri, Dec 12, 2:39 AM
Unknown Object (File)
Sat, Dec 6, 5:00 AM
Unknown Object (File)
Tue, Nov 25, 4:41 PM
Unknown Object (File)
Sun, Nov 23, 10:46 PM
Unknown Object (File)
Thu, Nov 20, 6:23 AM
Unknown Object (File)
Nov 10 2025, 12:52 AM
Unknown Object (File)
Oct 29 2025, 3:53 PM
Unknown Object (File)
Oct 29 2025, 1:23 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64901
Build 61784: arc lint + arc unit

Event Timeline

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

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
478

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.