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
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(a)mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 77 degrees Fahrenheit.