| Summary: | bug in kmodtool | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Levente Farkas <lfarkas> |
| Component: | driver-update-program | Assignee: | Jon Masters <jcm> |
| Status: | CLOSED DUPLICATE | QA Contact: | Cui Chun <ccui> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | bzeranski, ccui, syeghiay |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-05 04:06:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 725987 | ||
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. dare i ask to fix other kmodtool bugs too? *** This bug has been marked as a duplicate of bug 680029 *** In RHEL6.3, kmod_version and kmod_release macros will be defined, so this fix will not be required. The other bug, 680029 requests that -v and -r be fixed to work, which will also correct this problem. |
there is a bug in kmodtool since there is no such thing as %{kmod_version} and %{kmod_release}. here is the patch: diff -up ./kmodtool.xyz ./kmodtool --- ./kmodtool.xyz 2011-06-15 15:29:13.000000000 +0200 +++ ./kmodtool 2011-06-15 15:41:00.000000000 +0200 @@ -172,7 +179,7 @@ EOF cat <<EOF %preun -n kmod-${kmod_name}${dashvariant} -rpm -ql kmod-${kmod_name}${dashvariant}-%{kmod_version}-%{kmod_release}.$(arch) | grep '\.ko$' > /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules +rpm -ql kmod-${kmod_name}${dashvariant}-%{version}-%{release}.$(arch) | grep '\.ko$' > /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules EOF cat <<EOF