Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2025 14:40:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255202] drawer.lua: brand positioning not working
Message-ID:  <bug-255202-227-BBC8YGWAvy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255202-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255202-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255202

--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D7d1d7f42302d80c33243501601b77323a=
cc0717f

commit 7d1d7f42302d80c33243501601b77323acc0717f
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-02-24 14:36:10 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-02-24 14:36:10 +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 =3D {
                    graphic =3D {
                            ""
                    },
                    requires_color =3D true,
                    image =3D "/boot/images/freebsd-logo-rev.png"
            }
        }

    /boot/loader.conf.d/bootloader.conf:

        loader_logo=3D"none"
        loader_brand=3D"nanobsd"
        loader_brand_x=3D"15"

    PR:             255202
    Reviewed by:    manu, imp
    Approved by:    emaste (mentor)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D49092

 stand/lua/drawer.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255202-227-BBC8YGWAvy>