> I'm trying to build RPMs from alsa-driver-0.9.7 (on Mandrake 9), and at
> the end of the process, rpm reports 'installed but unpackaged' files:
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /var/tmp/alsa-driver-0.9.7-root
> error: Installed (but unpackaged) file(s) found:
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.dep
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.generic_string
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.ieee1394map
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.isapnpmap
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.parportmap
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.pcimap
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.pnpbiosmap
>    /lib/modules/2.4.21-0.13mdkenterprise/modules.usbmap
> 
> I see that the Makefile runs depmod -a, which creates these files, and
> the alsa-driver.spec lists
> /lib/modules/*/kernel/*
> which does not include these files.
> 
> The question is, should they be in the RPM or not? 

They should not be in the rpm. They will be created at boot time when
the boot process runs depmod (I think). 

> My gutfeel is that
> they are installation-specific and should not be in the RPM. In that
> case, do I modify the Makefile or somehow tell the specfile to delete
> the files before packaging?

You can just delete them to make rpm happy. 
-- Fernando




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to