Needed: An easier way to build a subset of kernel packages

Dave Jones davej at redhat.com
Thu Mar 29 17:51:48 UTC 2007


On Thu, Mar 29, 2007 at 01:41:45PM -0400, Chuck Ebbert wrote:
 > I was thinking about adding something like this to the .spec file
 > at the beginning:
 > 
 > %define allowup 1
 > %define allowsmp 1
 > %define allowpae 1
 > %define allowxen 1
 > %define allowdoc 1
 > %define allowdump 1
 > %define allowheaders 1
 > %define allowdebug 1
 > 
 > Then, after all the automatic enable/disable of various options is done,
 > turn off everything that's not allowed.
 > 
 > This would make it much easier to change what gets built.

The amount of %define's we've grown recently does seem to be
getting out of hand. I'm not sure it's a good/bad thing, but it
does make the spec a little harder to read.

Not sure about your proposal tbh.  I'll think about it more
when I'm back from vacation :)

	Dave

-- 
http://www.codemonkey.org.uk




More information about the Fedora-kernel-list mailing list