We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a244f8 commit cb45cc7Copy full SHA for cb45cc7
2 files changed
zfsbootmenu/lib/zfsbootmenu-core.sh
@@ -1122,7 +1122,7 @@ load_be_cmdline() {
1122
if [ -r "${kern_kcl}" ]; then
1123
zdebug "found kernel KCL ${kern_kcl} on ${fs}, ignoring KCL cache"
1124
else
1125
- cache="$( be_location "${fs}" )/cmdline"
+ cache="$( kernel_kcl_cache "${fs}" "default" )"
1126
fi
1127
1128
if [ -r "${BASE}/cmdline" ]; then
zfsbootmenu/lib/zfsbootmenu-ui.sh
@@ -651,7 +651,7 @@ populate_be_list() {
651
ret=1
652
for fs in "${candidates[@]}"; do
653
# Remove any existing cmdline cache
654
- rm -f "$( be_location "${fs}" )/cmdline"
+ rm -f "$( kernel_kcl_cache "${fs}" "default" )"
655
656
# Unlock if necessary
657
load_key "${fs}" || continue
0 commit comments