| #
b7473a5d
|
| 28-Sep-2025 |
Warner Losh <imp@FreeBSD.org> |
loader: make disable-device more rebust
Check the number of arguments and ensure that the passed-in device to disable parses correctly.
Sponsored by: Netflix
|
| #
55025f42
|
| 28-Sep-2025 |
Warner Losh <imp@FreeBSD.org> |
stand: Remove support for FreeBSD 12.2 and earlier
Remove 'pager' shim that was last not supported in FreeBSD 12.2, which went EOL on March 31, 2022. People have had enough time to upgrade the boot
stand: Remove support for FreeBSD 12.2 and earlier
Remove 'pager' shim that was last not supported in FreeBSD 12.2, which went EOL on March 31, 2022. People have had enough time to upgrade the boot loader.
Sponsored by: Netflix
show more ...
|
| #
b38a82c7
|
| 29-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "loader/lua: Remove pager shim"
This reverts commit 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f.
Really old loader.efi files persist in the field. Revert this to support it. We need to support
Revert "loader/lua: Remove pager shim"
This reverts commit 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f.
Really old loader.efi files persist in the field. Revert this to support it. We need to support this through at least 14.2 now, alas.
MFC After: 3 days Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D45881
show more ...
|
| #
8b9178cd
|
| 29-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader/lua: Remove pager shim
Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2
loader/lua: Remove pager shim
Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim here. Nobody needs that old loader + new lua scripts. Plus only one command is affected.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44142
show more ...
|
| #
9636a145
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line lua tag
Remove /^--\n--\s*\$FreeBSD\$.*$\n/
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
07c4b78d
|
| 28-Jul-2021 |
Warner Losh <imp@FreeBSD.org> |
lua loader: Add disable-device to disable a device.
disable-device fooX will set hint.foo.X.disabled=1 as a way to easily disable a device attaching during boot.
Reviewed by: tsoome Sponsored by:
lua loader: Add disable-device to disable a device.
disable-device fooX will set hint.foo.X.disabled=1 as a way to easily disable a device attaching during boot.
Reviewed by: tsoome Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31297
show more ...
|
| #
29842cb3
|
| 17-Dec-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: fix lua-lint run
luacheck rightfully complains that i is unused in the show-module-options loop at the end (it was used for some debugging in the process).
We've added a new pager module
lualoader: fix lua-lint run
luacheck rightfully complains that i is unused in the show-module-options loop at the end (it was used for some debugging in the process).
We've added a new pager module that's compiled in, so declare that as an acceptable global.
show more ...
|
| #
7ed84fa1
|
| 17-Dec-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: cli: provide a show-module-options loader command
This effectively dumps everything lualoader knows about to the console using the libsa pager; that particular lua interface was added in
lualoader: cli: provide a show-module-options loader command
This effectively dumps everything lualoader knows about to the console using the libsa pager; that particular lua interface was added in r368591.
A pager stub implementation has been added that just dumps the output as-is as a compat shim for older loader binaries that do not have lpager. This stub should be moved into a more appropriate .lua file if we add anything else that needs the pager.
show more ...
|
| #
4634bb1f
|
| 12-Dec-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: provide module-manipulation commands
Specifically, we have: - enable-module - disable-module - toggle-module
These can be used to add/remove modules to be loaded or force modules to be l
lualoader: provide module-manipulation commands
Specifically, we have: - enable-module - disable-module - toggle-module
These can be used to add/remove modules to be loaded or force modules to be loaded in spite of modules_blacklist. In the typical case, a user is expected to use them to recover an issue happening due to a module directive they've added to their loader.conf or because they discover that they've under-specified what to load.
MFC after: 1 week
show more ...
|
| #
94510c29
|
| 01-Oct-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: clear up some luacheck warnings
- One (1) unused argument - One (1) trailing whitespace - Two (2) "non-standard global" (curenv, rewind)
tools/boot/lua-lint.sh is once again happy.
|
| #
3fe0ac6a
|
| 30-Apr-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: config: improve readConfFiles, rename to readConf
The previous interface was pretty bad, and required the caller to get some implementation details correct that it really shouldn't need t
lualoader: config: improve readConfFiles, rename to readConf
The previous interface was pretty bad, and required the caller to get some implementation details correct that it really shouldn't need to (e.g. loader_conf_files handling) and pass in an empty table for it to use.
The new and much improved interface, readConf, is much less of a hack; hiding these implementation details and just doing the right thing. config.lua will now use it to process /boot/defaults/loader.conf and the subsequent loader_conf_files from there, and read-conf will also use it.
This improvement submitted by Olivier (cited below), loader_conf_files handling from the original patch was changed to just clobber it before processing and not bother restoring it after the fact following r360505 where it's now guaranteed to evade the loader environment.
PR: 244640 Submitted by: Olivier Certner (olivier freebsd free fr>
show more ...
|
| #
cc038071
|
| 28-Apr-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: cli: clobber loader_conf_files before proceeding
This makes sure that config.readConfFiles doesn't see a stale loader_conf_files from before, in case the newly loaded file doesn't set it.
lualoader: cli: clobber loader_conf_files before proceeding
This makes sure that config.readConfFiles doesn't see a stale loader_conf_files from before, in case the newly loaded file doesn't set it.
MFC after: 3 days
show more ...
|
| #
e40d2a04
|
| 28-Apr-2020 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: cli: add read-conf
This is a straightforward match to the command used by many in forthloader; it uses the newly-exported config.readConfFiles() to make sure that any loader_conf_files ge
lualoader: cli: add read-conf
This is a straightforward match to the command used by many in forthloader; it uses the newly-exported config.readConfFiles() to make sure that any loader_conf_files gets done as appropriate.
PR: 244640 Submitted by: Olivier Certner <olivier freebsd free fr> MFC after: 3 days
show more ...
|
| #
d9ec4fa9
|
| 14-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352308 through r352318.
|
| #
af876563
|
| 14-Sep-2019 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: Add reload-conf loader command
This command will trigger a reload of the configuration from disk. This is useful if you've changed currdev from recovery media to local disk as much as I h
lualoader: Add reload-conf loader command
This command will trigger a reload of the configuration from disk. This is useful if you've changed currdev from recovery media to local disk as much as I have over the past ~2 hours and are tired of the extra keystrokes.
This is really just a glorified shortcut, but reload-conf is likely easier to remember for other people and does save some keystrokes when reloading the configuration. It is also resilient to the underlying config method changing interface, but this is unlikely to happen.
MFC after: 1 week
show more ...
|
| #
2a22df74
|
| 04-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339813 through r340125.
|
| #
83f7a74c
|
| 02-Nov-2018 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: Implement boot-conf
MFC after: 3 days
|
| #
b7473a5d
|
| 28-Sep-2025 |
Warner Losh <imp@FreeBSD.org> |
loader: make disable-device more rebust
Check the number of arguments and ensure that the passed-in device to disable parses correctly.
Sponsored by: Netflix
|
| #
55025f42
|
| 28-Sep-2025 |
Warner Losh <imp@FreeBSD.org> |
stand: Remove support for FreeBSD 12.2 and earlier
Remove 'pager' shim that was last not supported in FreeBSD 12.2, which went EOL on March 31, 2022. People have had enough time to upgrade the boot
stand: Remove support for FreeBSD 12.2 and earlier
Remove 'pager' shim that was last not supported in FreeBSD 12.2, which went EOL on March 31, 2022. People have had enough time to upgrade the boot loader.
Sponsored by: Netflix
show more ...
|
| #
b38a82c7
|
| 29-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "loader/lua: Remove pager shim"
This reverts commit 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f.
Really old loader.efi files persist in the field. Revert this to support it. We need to support
Revert "loader/lua: Remove pager shim"
This reverts commit 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f.
Really old loader.efi files persist in the field. Revert this to support it. We need to support this through at least 14.2 now, alas.
MFC After: 3 days Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D45881
show more ...
|
| #
8b9178cd
|
| 29-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader/lua: Remove pager shim
Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2
loader/lua: Remove pager shim
Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim here. Nobody needs that old loader + new lua scripts. Plus only one command is affected.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44142
show more ...
|
| #
9636a145
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line lua tag
Remove /^--\n--\s*\$FreeBSD\$.*$\n/
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
07c4b78d
|
| 28-Jul-2021 |
Warner Losh <imp@FreeBSD.org> |
lua loader: Add disable-device to disable a device.
disable-device fooX will set hint.foo.X.disabled=1 as a way to easily disable a device attaching during boot.
Reviewed by: tsoome Sponsored by:
lua loader: Add disable-device to disable a device.
disable-device fooX will set hint.foo.X.disabled=1 as a way to easily disable a device attaching during boot.
Reviewed by: tsoome Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31297
show more ...
|