On 1/12/2010 at 22:01, Robert Schweikert
wrote: Hi, I am attempting to create a package for a kernel module and would like to get rid of some or all RPMLINT warnings. Can someone tell me what I need to to to get rid of the following?
- This package contains a kernel module but provides no call to depmod in the %post scriptlet.
- This package contains a kernel module but provides no call to depmod in the %postun scriptlet.
This one is a false positive as reported in https://bugzilla.novell.com/show_bug.cgi?id=456048. You should ignore it.
- et131x-kmp-default.x86_64: W: suse-policy-kmp-missing-enhances kernel-default
As for this one: maybe you can have a look at open-vm-tools (Virtualization:VMware) [0][1]. The package builds a KMP as well. The solution there (which was mainly introduced due to the fact that there was also a package rename for the KMPs... not so nice :) ) was to create a 'preamble' file (file name can differ of course) and then reference it in the %suse_kernel_module_package call with the -p parameter. For the Enhance itself though I'm not sure if the kmp macros should not take care of it by themselfes (as said: open-vm-tools also had a package rename for the kmp). Hope this helps a little bit, Dominique [0] Spec file: https://build.opensuse.org/package/view_file?file=open-vm-tools.spec&package=open-vm-tools&project=Virtualization%3AVMware [1] preamble file, referenced as source98: https://build.opensuse.org/package/view_file?file=preamble&package=open-vm-tools&project=Virtualization%3AVMware -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org