On Wed, 2002-04-17 at 04:02, Doug McClendon wrote:

> Dude.....Yes.
> 
> I have reconfigured, and recompiles kernels literally hundreds of times. 
>  I am intimately
> familiar with all the options.
> 
> I am interested in rpm --rebuild kernel, because I am interested in 
> rebuilding the default
> mandrake 8.2 kernel, with one new patch applied.  I intended, after 
> checking that --rebuild
> worked (which it didn't, and which it should have), to add the 
> h323-newnat13 patch to the
> kernel.spec file in the rpm, and generate an mdk82-default kernel + h323 
> nat patch.
> 
> I realize that this is a rather advanced concept, as I am in the process 
> of generating a custom
> distribution derivative of mandrake (just as mandrake is derivative of 
> redhat).  Normally I
> read the cooker mailinglist, but since this was a problem with the 8.2 
> kernel, and not the
> cooker kernel, I assumed this was the place to ask.

Well, best of luck to you.  I've never heard of anyone doing this, and
IMO it's not a good idea to compile a kernel without checking the config
options yourself, and with an src.rpm you have no way to do that without
unpacking the src.rpm.  Is that what you did, and if so what
preconfigurations did you find?  

If you're after getting a kernel like the Mandrake people did it on the
cdroms, then I suggest loading the kernel from the cdroms.  Just because
you have a source rpm there's no guarantee that the factory mandrake
config options have been saved to that rpm.  Have you verified or asked
anyone about that?

Even with applications or other classes of source packages, it's
sometimes tricky to get --rebuild to function flawlessly.  Personally
I've never heard of anyone doing this with a kernel src.rpm; mostly
because perhaps doing so relieves you of all kernel configuration
control, unless you open up the src and then repackage it again, which
would invalidate the reason for --rebuild in the first place.  Perhaps
Civileme has something to share on this.


> All I want is to generate the mdk82 kernel rpm, in the same way it was 
> generated by
> mandrake.  I definately assume that they generated it with rpm 
> --rebuild, and not by hand
> as you suggested.

You're assuming that the kernel programmers would rather do a --rebuild
than configure using the tools built into the kernel source for that
purpose? For people that are capable of authoring or tweaking the kernel
source itself, why would you make an assumption like that?



> -dmc
> 

LX

-- 
���������������������������������������������������
Kernel  2.4.8-26mdk     Mandrake Linux  8.1
Enlightenment 0.16.5    Evolution  1.02
Registered Linux User #268899 http://counter.li.org/
���������������������������������������������������


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to