Rebuild sysprof-kmod for final kernel

Ville Skyttä ville.skytta at iki.fi
Wed Oct 31 20:55:58 UTC 2007


On Wednesday 31 October 2007, Lubomir Kundrak wrote:
> Hi,
>
> On Wed, 2007-10-31 at 11:07 +0100, Gianluca Sforna wrote:
> > I tried to rebuild sysprof-kmod for the f8 release, but it failed with:
> >
> > Checking for unpackaged file(s): /usr/lib/rpm/check-files
> > /var/tmp/sysprof-kmod-1.0.8-1.2.6.23.1_41.fc8-root-kojibuilder
> > error: Installed (but unpackaged) file(s) found:
> >    /lib/modules/2.6.23.1-41.fc8/modules.alias
> >    /lib/modules/2.6.23.1-41.fc8/modules.ccwmap
> >    /lib/modules/2.6.23.1-41.fc8/modules.dep
> >    /lib/modules/2.6.23.1-41.fc8/modules.ieee1394map
> >    /lib/modules/2.6.23.1-41.fc8/modules.inputmap
> >    /lib/modules/2.6.23.1-41.fc8/modules.isapnpmap
> >    /lib/modules/2.6.23.1-41.fc8/modules.ofmap
> >    /lib/modules/2.6.23.1-41.fc8/modules.pcimap
> >    /lib/modules/2.6.23.1-41.fc8/modules.seriomap
> >    /lib/modules/2.6.23.1-41.fc8/modules.symbols
> >    /lib/modules/2.6.23.1-41.fc8/modules.usbmap
> >
> > These was not created before, so I'm not sure if they have to be
> > packaged, removed, ghosted or...
>
> I'd remove them, possibly with %exclude. It is the responsibility of
> scriptlets added by kmodtool to calculate the module dependencies, these
> files are unusable anyways.

They are generated because kernel-devel packages in F-8 include System.map, 
see Makefile in the source tree for details.  I chose to explicitly disable 
depmod during build (which is what generates those files) in em8300-kmod, I 
think that's a cleaner approach, and matches what actually happens in earlier 
distros.

http://cvs.fedora.redhat.com/viewcvs/rpms/em8300-kmod/F-8/em8300-kmod.spec?r1=1.42&r2=1.43&makepatch=1&diff_format=h




More information about the fedora-devel-list mailing list