Bug 1226402 - add to kernel weak dependencies for kernel-devel and kernel-modules-extra
Summary: add to kernel weak dependencies for kernel-devel and kernel-modules-extra
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1062997
TreeView+ depends on / blocked
 
Reported: 2015-05-29 16:29 UTC by Honza Silhan
Modified: 2016-06-01 12:18 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-06-01 12:18:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1079906 0 unspecified CLOSED mark kernel-devel installonly 2021-02-22 00:41:40 UTC

Internal Links: 1079906

Description Honza Silhan 2015-05-29 16:29:11 UTC
Description of problem:

This is next step to solve bug 1062997 - to remove all kernel* installonly packages with the same version over installonly_limit. DNF searches through all requirements of running kernel and doesn't remove these packages. We can expand it to look for weak deps too.


Actual results:
kernel-devel is not linked to kernel at all.


Expected results:
Please add to kernel package:

* "Suggests: kernel-modules-extras = <ver>"
* "Suggests: kernel-devel = <ver>"

so DNF don't have to make kernel an exception of the packages. By adding weak dependencies all remains the same. No other packages will be pulled in when just kernel is to be installed.

Additional info:
http://www.rpm.org/wiki/PackagerDocs/DependenciesOverview#Weakdependencies

Comment 1 Josh Boyer 2015-05-29 18:23:15 UTC
kernel-devel shouldn't be linked to kernel at all.  You can install kernel-devel on a machine for a kernel you don't have installed, build things against it, and copy the results to a machine running that kernel and use them.  It has nothing to do with a running kernel on the machine.

Also, kernel-devel is 100% unnecessary for the kernel (or kernel-core and kernel-modules) packages.  Adding a weak dependency that suggests you want kernel-devel installed when you install a particular kernel is incorrect.

Lastly, I was under the impression that we were not allowed to use weak dependencies in Fedora yet because the FPC did not have guidelines for doing so.  Did I miss where those were reviewed and approved?  I would be happy to read them if so.

Comment 3 Josh Boyer 2016-06-01 12:18:27 UTC
There are other issues stemming from packaging changes similar to this.  We're not going to make these changes.


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