Sfoglia il codice sorgente

pkg: fedora: Fix variable name in the watchdog script

Dorian Stoll 1 anno fa
parent
commit
7633736b5a

+ 1 - 1
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