]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: Allow brand-*.lua for adding new brands
authorkevans <kevans@FreeBSD.org>
Mon, 11 Jun 2018 01:32:18 +0000 (01:32 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 11 Jun 2018 01:32:18 +0000 (01:32 +0000)
commit6913c46c473eec9971be7f10ca21d79e804c2afe
tree350e4dbbf3f1f836dc18f0aaaba422d75979a7fb
parent68bb56ea9450d470aabbea992581665c3f20ae5a
lualoader: Allow brand-*.lua for adding new brands

dteske@, I believe, had originally pointed out that lualoader failed to
allow logo-*.lua for new logos to be added. When correcting this mistake, I
failed to do the same for brands.

Correct the sub-mistake: creating new brands is almost identical to creating
new logos, except one must use `drawer.addBrand` and 'graphic' is the only
valid key for a branddef at the moment.

While here, I've added `drawer.default_brand` to be set to name of brand to
be used (e.g. 'fbsd', project default).

Eventually this whole goolash will be documented.

Reported by: kmoore, iXsystems
stand/lua/drawer.lua