35b0c718d3
With autodetection turned on, hitting the filesystem everytime we need to calculate choices for the kernel carousel is kind of slow. Cache once on the first listing and reload it anytime the config is reloaded in case any of the loader.conf(5) changes that affect this (kernel, kernels, kernels_autodetect) have changed. This also picks up the case where we've changed currdev and the autodetected kernels could change. |
||
---|---|---|
.. | ||
cli.lua | ||
color.lua | ||
config.lua | ||
core.lua | ||
core.lua.8 | ||
drawer.lua | ||
loader.lua | ||
Makefile | ||
menu.lua | ||
menu.lua.8 | ||
password.lua | ||
screen.lua |