Skip to content

UEK kernel not being set to default on CentOS 8 to Oracle 8 conversion #92

Open
@asmussen

Description

@asmussen

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcentos-8CentOS Linux 8good first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions