Hide Forgot
Description of problem: According to section 2.4.1 of the Driver Update Program manual: http://people.redhat.com/jcm/el6/dup/docs/dup_book.pdf you need a handful of packages to build drivers: • createrepo (required when building Driver Update Disks) • kabi-whitelists (required as a reference for official kABI) • kabi-yum-plugins (optional enforcing plugin to mandate kABI) • kernel-devel (older releases of RHEL had multiple possible kernel ”vari- ants” such as kernel-xen-devel, but these do not exist in RHEL 6). • redhat-rpm-config It appears that if you don't also have module-init-tools installed find-provides.ksym silently fails (so your kmod package doesn't require the kernel bits). We should probably add module-init-tools to the list of required packages or maybe make it a dependency for kernel-devel or something like that. Version-Release number of selected component (if applicable): How reproducible: Attempt rpmbuild of DUP package on RHEL 6 Actual results: find-provides.ksym silently fails (so your kmod package doesn't require and kernel bits) Expected results: No failure. Additional info:
There should be no way that module-init-tools is not installed, since it is required for basic system operation. The only way it would be missing is if you're building inside a chroot or other environment, which we don't support. You can make it work, in that case, by simply including module-init-tools amongst the other packages you are pulling in.