Bug 473780
Summary: | Add gcc and kernel-headers requires to the spec file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rehan Khan <rehan.khan> |
Component: | dkms | Assignee: | Matt Domsch <matt_domsch> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 10 | CC: | mario_limonciello, matt_domsch, tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-11-30 17:34:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rehan Khan
2008-11-30 15:18:32 UTC
This is in fact expected behavior, and DKMS itself throws runtime errors when no compiler or matching kernel headers are present yet it has been asked to rebuild a module. For many users, particularly those in data centers, policy dictates they not have compilers or kernel-devel installed on their systems. DKMS itself only needs compiler and kernel-devel if 'dkms build' is invoked. For all other DKMS functionality, these aren't needed. In a very typical case of pre-compiled modules distributed in a DKMSified RPM, the compiler and kernel-devel packages are not needed. Ok, thanks. I didn't know dkms could be used for binary only installs, will review the documentation again. OTOH it would be more user friendly perhaps if DKMS in fedora was more straight forward, either by adding a note to the description field of the spec file saying that if a user wants to be able to compile drivers (or continuously update thier drivers for each new kernel) then they will need gcc and kernel headers/devel at a minimum or to do something similar to the mandriva rpm where there is a minimal and full package or perhaps dkms and dkms-full or something. cheers |