Skip to content

Commit cb45cc7

Browse files
committed
fixup! fixup! zfsbootmenu: support per-kernel command-line arguments
1 parent 5a244f8 commit cb45cc7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

zfsbootmenu/lib/zfsbootmenu-core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ load_be_cmdline() {
11221122
if [ -r "${kern_kcl}" ]; then
11231123
zdebug "found kernel KCL ${kern_kcl} on ${fs}, ignoring KCL cache"
11241124
else
1125-
cache="$( be_location "${fs}" )/cmdline"
1125+
cache="$( kernel_kcl_cache "${fs}" "default" )"
11261126
fi
11271127

11281128
if [ -r "${BASE}/cmdline" ]; then

zfsbootmenu/lib/zfsbootmenu-ui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ populate_be_list() {
651651
ret=1
652652
for fs in "${candidates[@]}"; do
653653
# Remove any existing cmdline cache
654-
rm -f "$( be_location "${fs}" )/cmdline"
654+
rm -f "$( kernel_kcl_cache "${fs}" "default" )"
655655

656656
# Unlock if necessary
657657
load_key "${fs}" || continue

0 commit comments

Comments
 (0)