[Bug 255202] drawer.lua: brand positioning not working
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Mar 2025 05:32:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255202
--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=8f652eb792baf5902a367f68ea02014fdc47313d
commit 8f652eb792baf5902a367f68ea02014fdc47313d
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-02-24 14:36:10 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-03-03 05:29:47 +0000
stand: Fix brand positioning on framebuffer console
The drawer.lua script ignores the values in loader_brand_x and
loader_brand_y on framebuffer consoles, always positioning the brand at
(1, 1).
Allow it to be positioned by accepting the x and y values just like the
text version. For example:
/boot/lua/gfx-nanobsd.lua:
return {
brand = {
graphic = {
""
},
requires_color = true,
image = "/boot/images/freebsd-logo-rev.png"
}
}
/boot/loader.conf.d/bootloader.conf:
loader_logo="none"
loader_brand="nanobsd"
loader_brand_x="15"
PR: 255202
Reviewed by: manu, imp
Approved by: emaste (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D49092
(cherry picked from commit 7d1d7f42302d80c33243501601b77323acc0717f)
stand/lua/drawer.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.