Red Hat Bugzilla – Bug 591069
RHEL6: Snapshot2: kmod package names built from source is not compatible with DD v3 rpm requirement
Last modified: 2011-03-15 10:01:26 EDT
Created attachment 413103 [details]
Description of problem:
According to DD v3 documentation, the kmod RPMs of driver disk should have the naming convention as kernel-modules-<running kernel version>.
But when when tried to create one such rpm, the RPM generated has the name kmod-module-version-arch.
I tried to to create a sample package for bnx2 driver by just changing the version number from 2.0.2 to 2.0.3 using attached spec file. The RPM generated has the name kmod-bnx2-2.0.3-x86_64. But DD v3 expects a different name for this RPM.
Steps to Reproduce:
1. Copy attached bnx2-2.0.3.tar.bz2 to SOURCES
2. Copy bnx2.spec to SPEC
3. Run rpmbuild -ba bnx2.spec
Created attachment 413104 [details]
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Reassigning to the maintainer of kernel module packaging bits.
This isn't a bug actually :) The driver package simply needs to provide a dependency of kernel-modules, which it does automatically. There is no need to change the /name/ of the package.