Hi packagers, in Contrib I am maintaining 'tp-smapi_kmp', which has recently started to produce some rpmlint warnings:
tp_smapi-kmp-default.i586: W: module-without-depmod-postin /lib/modules/2.6.29-rc6-git1-2-default/updates/tp_smapi.ko tp_smapi-kmp-default.i586: W: module-without-depmod-postun /lib/modules/2.6.29-rc6-git1-2-default/updates/tp_smapi.ko tp_smapi-kmp-default.i586: W: suse-policy-kmp-missing-enhances kernel-default
Concerning the first two warnings, I have tried adding "%postun \\ /sbin/depmod" to the spec-file without any help. The document "Kernel Module Packages Manual for CODE 10" also has no advice, it only says:
When a Kernel Module Package package is installed, depmod is called to update module dependency information and various maps. Does it mean it should be added automatically?
And how serious is the third warning? Should I do something about it? Yours, Radomir Cernoch -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Radomír Černoch napsal(a):
Hi packagers,
in Contrib I am maintaining 'tp-smapi_kmp', which has recently started to produce some rpmlint warnings:
tp_smapi-kmp-default.i586: W: module-without-depmod-postin /lib/modules/2.6.29-rc6-git1-2-default/updates/tp_smapi.ko tp_smapi-kmp-default.i586: W: module-without-depmod-postun /lib/modules/2.6.29-rc6-git1-2-default/updates/tp_smapi.ko tp_smapi-kmp-default.i586: W: suse-policy-kmp-missing-enhances kernel-default
Concerning the first two warnings, I have tried adding "%postun \\ /sbin/depmod" to the spec-file without any help. The document "Kernel
Please ignore this warning, it does not apply at all. See https://bugzilla.novell.com/show_bug.cgi?id=456048 . Michal -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Radomír Černoch napsal(a):
tp_smapi-kmp-default.i586: W: module-without-depmod-postin /lib/modules/2.6.29-rc6-git1-2-default/updates/tp_smapi.ko tp_smapi-kmp-default.i586: W: module-without-depmod-postun /lib/modules/2.6.29-rc6-git1-2-default/updates/tp_smapi.ko tp_smapi-kmp-default.i586: W: suse-policy-kmp-missing-enhances kernel-default
Does it mean it should be added automatically?
And how serious is the third warning? Should I do something about it?
I missed this one before. This is actually a real bug, you call %kernel_module_package with -p %_sourcedir/preamble (why?), but you don't have any such file there: + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/openSUSE:Factory:Contrib/standard/3ec2e5184d41ef50b4bcc8a9843ed3b0-tp_smapi-kmp' --eval %suse_insert_debug_package /usr/src/packages/SOURCES/tp_smapi-kmp.spec cat: /usr/src/packages/SOURCES/preamble: No such file or directory cat: /usr/src/packages/SOURCES/preamble: No such file or directory cat: /usr/src/packages/SOURCES/preamble: No such file or directory cat: /usr/src/packages/SOURCES/preamble: No such file or directory cat: /usr/src/packages/SOURCES/preamble: No such file or directory cat: /usr/src/packages/SOURCES/preamble: No such file or directory Michal -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
2009/3/10 Michal Marek
I missed this one before. This is actually a real bug, you call %kernel_module_package with -p %_sourcedir/preamble (why?), but you don't have any such file there:
Thanks for pointing out this mistake, it was a stub from previous version. Nevertheless even after removing the preamble, the rpmlint warning is still there. Do you have any ideas how to deal with it, please? I have tried adding "Enhances: kernel-%1", but again the errors remain. Yours, Radomir Cernoch -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
participants (2)
-
Michal Marek
-
Radomír Černoch