[Fedora-packaging] Kernel modules (was: Re: tpctl in extras missing dependancy for kernel-module-thinkpad)

Matthew Miller mattdm at mattdm.org
Wed Jun 29 14:50:33 UTC 2005


On Wed, Jun 29, 2005 at 05:31:31PM +0300, Ville Skyttä wrote:
> 1) Just ship userland as i586 and i686 too
> 2) Split userland and module SRPMS
> 3) Conditionalize whether to build the modules or the userland or both 
>    based on some passed in build options
>    (rpm.livna.org uses "--without modules" and "--without userland")
> 4) Hardcode our assumptions based on arch somewhere, eg. if target=i586
>    or i686, no userland will be built, and if target=i386, no modules
>    will be built
> 
> 2) gets my vote.

For 4), remember that we've also got smp (and in CentOS 4, which I'd
also like to support, hugemem).

#2 has some appeal, particularly since it avoids rebuilding the userland
stuff for every kernel update, but it requires some careful consideration
about the dependency relationship between the userland and module
packages.... (I've been assuming a requires version-release kind of thing,
but on reflection, that'd be *hard* and generally *not* wanted -- but then,
in the cases where it *is* wanted, not possible. Gah.) 

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 77 degrees Fahrenheit.




More information about the Fedora-packaging mailing list