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

Jarod Wilson jwilson at redhat.com
Thu Mar 29 18:56:55 UTC 2007


Chuck Ebbert wrote:
> Jarod Wilson wrote:
>> Dave Jones wrote:
>>> On Thu, Mar 29, 2007 at 02:06:58PM -0400, Jarod Wilson wrote:
>>>  > Dave Jones wrote:
>>>  > > 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.
[...]
>>> But I've not objection to making it easier for people who don't follow
>>> my workflow and do things differently.
>>
>> Rather than wasting Chuck's time implementing this, what say a
>> lower-level grunt like myself try to implement something along these
>> lines? :) I've got a few ideas on how to do it using either %bcond or
>> %with{,out}...
> 
> You understand rpm better than I do, so go for it. I'd use Dave's method
> but an RPM is so much more convenient...

Cool, I'm on it...

-- 
Jarod Wilson
jwilson at redhat.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-kernel-list/attachments/20070329/8d184479/attachment.sig>


More information about the Fedora-kernel-list mailing list