ee233742 | 07-Jan-2025 |
Emmanuel Vadot <manu@FreeBSD.org> |
loader: Rework kernel menu section
With pkgbase we can have long kernel name, so create a new section for the kernel name. Do not show the "default" text, we already show the "1 of X" part at the en
loader: Rework kernel menu section
With pkgbase we can have long kernel name, so create a new section for the kernel name. Do not show the "default" text, we already show the "1 of X" part at the end of the line and the default kernel is always number 1 so it's a bit redundant.
Differential Revision: https://reviews.freebsd.org/D48354 Reviewed by: imp, tsoome Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
604919c4 | 24-Sep-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Fix 0 vs 1 confusion for column numbers
In two places we use '0' for a column number. However, the upper left hand corner of the screen is 1, 1. Fix those two confusions. Also, fix a comment
loader: Fix 0 vs 1 confusion for column numbers
In two places we use '0' for a column number. However, the upper left hand corner of the screen is 1, 1. Fix those two confusions. Also, fix a comment that flipped the coordinates in a comment (I'm used to the vt100 convention where it's row, column (eg y, x)) and didn't notice the rest of the code uses x, y.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D46777
show more ...
|
7cb65be9 | 30-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
stand: Use correct loader needs to be updated code
Use the correct loader code that adds an inactive highlighted menu item indicating that an update is needed.
My laptop is the only machine that I
stand: Use correct loader needs to be updated code
Use the correct loader code that adds an inactive highlighted menu item indicating that an update is needed.
My laptop is the only machine that I have a boot menu. I'd debugged the menu part there, but had all the other changes, including my original menu code, on my server and hadn't copied it back before pushing.
Fixes: 0eac99f76ec3 Sponsored by: Netflix
show more ...
|
0eac99f7 | 30-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
stand: Add "Loader needs updating" to the first menu item"
When the boot loader version is too old, add a warning to the boot menu to maybe catch people's attention.
Sponsored by: Netflix Reviewed
stand: Add "Loader needs updating" to the first menu item"
When the boot loader version is too old, add a warning to the boot menu to maybe catch people's attention.
Sponsored by: Netflix Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D45890
show more ...
|
809edb36 | 30-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "loader/lua: Remove workaround for command_error"
This reverts commit 552f3072af54820cf1805f712e2567bc1b7f046d.
loader.command_error was added just after 11.2, but appears to not have been b
Revert "loader/lua: Remove workaround for command_error"
This reverts commit 552f3072af54820cf1805f712e2567bc1b7f046d.
loader.command_error was added just after 11.2, but appears to not have been back ported to 11.x. 11.0 was the first lua loader release, so keep this compat shim until we sort out what to do.
MFC After: 3 days Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D45883
show more ...
|
522a65a8 | 30-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "loader/lua: Remove compat shim for loader.lua_path"
This reverts commit ab97d42addae97a389c6f22d6bba62ed954bb8e7.
There's too many people in the field with FreeBSD 12.0 loader.efi that stub
Revert "loader/lua: Remove compat shim for loader.lua_path"
This reverts commit ab97d42addae97a389c6f22d6bba62ed954bb8e7.
There's too many people in the field with FreeBSD 12.0 loader.efi that stubbed their toe on upgrading to 14.1 since they'd not updated loader.efi. While we sort out that mess, add back this workaround. Can revisit after 14.2 maybe.
MFC After: 3 days Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D45882
show more ...
|
552f3072 | 29-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader/lua: Remove workaround for command_error
loader.command_error was available prior to stable/12 branching. No need to check if it is available or not.
Sponsored by: Netflix Reviewed by: kev
loader/lua: Remove workaround for command_error
loader.command_error was available prior to stable/12 branching. No need to check if it is available or not.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44144
show more ...
|
ab97d42a | 29-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader/lua: Remove compat shim for loader.lua_path
loader.lua_path was committed before stable/13 was branched, and merged in to for 12.2. Remove workaround for it not being present.
Sponsored by:
loader/lua: Remove compat shim for loader.lua_path
loader.lua_path was committed before stable/13 was branched, and merged in to for 12.2. Remove workaround for it not being present.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44143
show more ...
|
0fd98b8a | 16-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Move drawer.lua over to gfx table.
Drawer.lua is the only bit of lua code in the base that uses any of the functons moved from the loader table to the gfx table. Move the main code to using
loader: Move drawer.lua over to gfx table.
Drawer.lua is the only bit of lua code in the base that uses any of the functons moved from the loader table to the gfx table. Move the main code to using the gfx dispatch. Add compat code for running on old loaders that creates the newer-style gfx table with the term_* functions we call in it populated. This will even work on the super old versions of the loader that don't have them (we'll still skip using them).
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D43908
show more ...
|