[Bug 235040] Lua-based loader(8) does not pick up /boot/loader.rc.local

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 18 11:10:29 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235040

            Bug ID: 235040
           Summary: Lua-based loader(8) does not pick up
                    /boot/loader.rc.local
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: danfe at FreeBSD.org

Since the default loader(8) interpreter has been switched from 4th to Lua,
settings in /boot/loader.rc.local are no longer picked up.  This is useful, for
example, to overwrite "gop" value in order to fix garbled screen when booting
on some laptop models (see bug #202309 for details).  Making loader.efi point
back to loader_4th.efi fixes the issue.

grep(1) also suggests that Lua version is unaware about this file:

/usr/src/stand% grep -R loader.rc.local .
./i386/loader/loader.rc:try-include /boot/loader.rc.local
./forth/loader.rc:\ You should not edit this file! Put any overrides in
loader.rc.local
./forth/loader.rc:try-include /boot/loader.rc.local

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list