After using this script to convert a test system, I found that the UEK kernel was installed, but not set as the default booting kernel. I believe that the problem is in this line:
Adding some debugging lines before that, it appears that os_version was set to "8.4", but the path to the installed UEK kernel has "el8uek", not "el8.4uek":
/boot/vmlinuz-5.4.17-2102.204.4.4.el8uek.x86_64
I suspect that it should be using ${major_os_version} instead of ${os_version} in the assignment of the uek_path variable.
After using this script to convert a test system, I found that the UEK kernel was installed, but not set as the default booting kernel. I believe that the problem is in this line:
uek_path=$(find /boot -name "vmlinuz-*.el${os_version}uek.${arch}")
Adding some debugging lines before that, it appears that os_version was set to "8.4", but the path to the installed UEK kernel has "el8uek", not "el8.4uek":
/boot/vmlinuz-5.4.17-2102.204.4.4.el8uek.x86_64
I suspect that it should be using ${major_os_version} instead of ${os_version} in the assignment of the uek_path variable.