Bug 1474423 - akmods to install the appropriate kernel-devel variant
akmods to install the appropriate kernel-devel variant
Product: Fedora
Classification: Fedora
Component: akmods (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nicolas Chauvet (kwizart)
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-24 11:00 EDT by Nicolas Chauvet (kwizart)
Modified: 2017-08-20 13:21 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-08-12 18:03:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nicolas Chauvet (kwizart) 2017-07-24 11:00:26 EDT
Description of problem:
when installing any kernel-devel-uname-r, the appropriate variant should be picked.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. dnf install kernel-devel-uname-r
2. when using kernel-lpae (on arm) or kernel-debug

Actual results:
the default kernel-devel is installed no matter which kernel variant is used.

Expected results:
It should install the same variant as the kernel

Additional info:
Suggested implementation. Please note that akmods or else are noarch packages, so they should not have %ifarch in them.
Also this is change cannot be implemented yet because the packaging guideline currently prevent wide use of boolean dependencies.

Requires: kernel-devel-uname-r
%if 0{?fedora:
Suggests: (kernel-devel if kernel)
Suggests: (kernel-debug-devel if kernel-debug)
Suggests: (kernel-PAE-devel if kernel-PAE)
Suggests: (kernel-PAEdebug-devel if kernel-PAEdebug)
Suggests: (kernel-lpae-devel if kernel-lpae)
Suggests: (kernel-rt-devel if kernel-rt)
Comment 1 Nicolas Chauvet (kwizart) 2017-08-12 18:03:06 EDT
Fixed in akmods-0.5.6-10

Note You need to log in before you can comment on or make changes to this bug.