From 7633736b5af4c85f70b4602182cfe4494acb3317 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Wed, 4 Oct 2023 11:52:34 +0200 Subject: [PATCH] pkg: fedora: Fix variable name in the watchdog script --- .../kernel-surface/files/linux-surface-default-watchdog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/fedora/kernel-surface/files/linux-surface-default-watchdog.sh b/pkg/fedora/kernel-surface/files/linux-surface-default-watchdog.sh index c76d506f2..b0a55dc68 100755 --- a/pkg/fedora/kernel-surface/files/linux-surface-default-watchdog.sh +++ b/pkg/fedora/kernel-surface/files/linux-surface-default-watchdog.sh @@ -16,7 +16,7 @@ VMLINUX="$(echo "${KERNELS}" | tail -n1 | cut -d' ' -f2)" echo "${VMLINUX}" # update GRUB config -grubby --set-default "$(grub2-mkrelpath "${BOOTPATH}")" +grubby --set-default "$(grub2-mkrelpath "${VMLINUX}")" # Update timestamp for rEFInd # Ensure it's marked as latest across all kernels, not just surface ones