On Sunday, September 22, 2002, at 09:21 AM, Brian J. Murrell wrote:

>> Yup, Ben's right.  Updates don't go into CVS... never have and I doubt
>> they ever will.  The only times that maintainers have anything to do
>> with updates is usually immediately after a release when there are
>> bugfixes... these get into CVS because they are typically rebuilds 
>> from
>> cooker.
>> Or when we do kernel updates because Juan does most of the
>> work there, but again, these don't go into CVS.
>
> All of this would be solved (pertaining to the kernel specfile anyway)
> by following my other suggestion: putting the specfile that builds a
> release of kernels into the kernel-source package.

I thought your beef was with wanting the specfile and not having to 
download the srpm to get it?

> I have successfully made modifications to the 2.4.18-8.1mdk specfile
> to allow you to package the kernel that was built in the kernel-source
> (i.e.  /usr/src/linux-2.4.18-8.1mdk) directory.  So for instance you
> can follow these steps:
>
> # rpm -ivh kernel-source-...
> # cd /usr/src/linux-...
> <patch, make config, whatever else you want to do for your custom 
> kernel>
> # make dep; make clean; make bzImage; make modules
> # rpm -bb -without binary
>
> (-without binary is a lame option name; it needs more thought) and
> then rpm will package up the kernel you just built into an RPM which
> will operate exactly as if it was built right from source using the
> Mandrake RPM (i.e. with all of the Mandrake scripts, etc.).
>
> There are a couple of things missing still.  I want to be able to pass
> a "flavour" (i.e. "-with flavour bjm" to produce
> kernel-<version>-<serial>mdkflavour), and in fact force the
> requirement that a flavour name be passed if "-without binary" is
> used.  I dunno how to do that yet though.  Just need to check out
> these new macros and value passing options in RPM.
>
> I think this would be a very nice feature of the kernel-source package
> for those that do need to build their own kernels for whatever reason.
> It at least allows them to package it up into an RPM so that it can be
> installed just as easy as a regular Mandrake kernel.

Yes, this is a very nice idea.  I think it would be great to 
incorporate it.  I doubt you'll get it for 9.0 tho.. =)  If you have a 
working specfile, send it to Juan...  I'm sure he'd be more than happy 
to incorporate something like this if it isn't too intrusive.

--
MandrakeSoft Security; http://www.mandrakesecure.net/
"lynx - source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}

Attachment: PGP.sig
Description: PGP signature

Reply via email to