On Monday 08 December 2003 18:37, Helgi �rn Helgason wrote:
> On 2003-12-08, David Gethings wrote:
> > On Mon, 2003-12-08 at 15:37, David Gethings wrote:
> > > If you wish to change the kernel config use 'genkernel --config'. If
> > > not then just run 'genkernel'.
> >
> > Sorry, forgot to mention. If you do not run genkernel with --config then
> > it does a 'make oldconfig'. AFAIK this is just basic config that comes
> > with the kernel so it will not include your options.
> >
> > To include your option from the previous release then copy .config from
> > the old kernel version to the new. i.e. cp gentoo-r8/.config gentoo-r9/
> >
> > Then you can run genkernel and it will honour your old options.
> >
> > If I am wrong then please someone say so. As this is how I do and if it
> > is wrong then build is potentially broken! :P
>
> I don't know if you are totally wrong, but this is what i dug out; if
> you take a look at the /usr/sbin/genkernel script then you can see that
> it is supposed to search for a file called /etc/kernels/default-config
> which is *Automatically generated by make menuconfig*!
> It seems to be my default kernel-config file, am I right?
> In that case genkernel should be using that file...
>
> Cheers,
> /H�
True. When compiled a new 2.4.23-grsec kernel, updating 2.4.22-grsec:
1.Changed linux link to the new source;
2.copied .config from old /2.4.22/ to new /2.4.23/;
3.run genkernel --config and it used /etc/kernels/default-config - not what i 
wanted;
4.backed up default-config and put over my 2.4.22-config  as default-config;
5.run genkernel --config and it worked.
Hope this helps.
Rumen


--
[EMAIL PROTECTED] mailing list

Reply via email to