Bug 2218520

Summary: The kernel-core gets installed as a dependency of vdo, although kernel-64k-core is installed
Product: Red Hat Enterprise Linux 9 Reporter: Jan Stodola <jstodola>
Component: vdoAssignee: vdo-internal <vdo-internal>
Status: NEW --- QA Contact: vdo-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: awalsh, cwei
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2180384    

Description Jan Stodola 2023-06-29 13:36:40 UTC
Description of problem:
When testing installation on aarch64 with kernel-64k selected in anaconda (bug 2164819), it was discovered that the regular 4k kernel-core gets installed as well.
This is caused by the vdo package, which depends on kmod-kvdo, which depends on kernel-core.
As a result, both kernel-core and kernel-64k-core get installed and the default kernel selected to boot is kernel-core, not the selected kernel-64k.

The problem doesn't happen when installing the Minimal package set, which doesn't install the vdo package.

Version-Release number of selected component (if applicable):
anaconda-34.25.3.5-1.el9 + commit from https://github.com/rhinstaller/anaconda/pull/4869

How reproducible:
Always on aarch64

Steps to Reproduce:
1. Run installation, select the "Server" environment to be installed. Also select the kernel-64k to be installed (this option is also available on the software spoke).
2. Finish the installation and check the installed kernel packages.

OR

Install the vdo package on a system with only kernel-64k installed.

Actual results:
* kernel-core and kernel-64k-core installed
* kernel-core is the default kernel to boot

Expected results:
Just kernel-64k-core installed.