From cf9ee80ee644f50d10621f18ef11d4265d248799 Mon Sep 17 00:00:00 2001 From: malachma Date: Tue, 1 Sep 2020 17:54:11 +0200 Subject: [PATCH] correct incorrect path and file name --- src/linux/common/helpers/alar/alar-fki/initrd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/common/helpers/alar/alar-fki/initrd.sh b/src/linux/common/helpers/alar/alar-fki/initrd.sh index 185b77d..b1ecb90 100644 --- a/src/linux/common/helpers/alar/alar-fki/initrd.sh +++ b/src/linux/common/helpers/alar/alar-fki/initrd.sh @@ -33,7 +33,7 @@ recover_redhat() { else if [[ $(grep -qe 'VERSION_ID="8.[1-2]"' /etc/os-release) -eq 0 ]]; then for installed_kernel in $(rpm -qa kernel); do - kernel-install add $(sed 's/kernel-//' <<< $installed_kernel) /lib/modules/$(sed 's/kernel-//' <<< $installed_kernel)/vmlinuz + kernel-install -v add $(sed 's/kernel-//' <<< $installed_kernel) /boot/vmlinuz-$(sed 's/kernel-//' <<< $installed_kernel) done else depmod ${kernel_version}