diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2026-01-07 12:20:05 -0600 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2026-01-19 22:04:46 -0600 |
| commit | 6dabfd3efefaeb2bc24b8f16e1c5aae8dedc4d0c (patch) | |
| tree | b6bb5972ce6f009c4a553feee3f36bbd0dac3f25 /lib | |
| parent | bc859baeea57ca90eeca2fca5b83993ebfa90ad3 (diff) | |
lualoader: fix pruning of non-existent default kernelstable/15
Removing the kernel from the list of available kernels is sufficient to
avoid rendering it in the list, but we need more for booting to actually
work. Notably, the 'kernel' loader.conf var was left intact to its
default value, so if one didn't use the kernel selector in the menu then
we'd try to boot the nonexistent 'kernel' instead of the new default
(first autodetected).
There's room to improve the error messages here, but for now let's just
make it actually work correctly.
PR: 292232
Fixes: d04415c520b03 ("loader: lua: remove the default kernel [...]")
(cherry picked from commit e30086ab4c8778ea70a3b19e83546ce1b4a16492)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
