[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building custom kernel based off stock debian kernel



On Fri, Feb 08, 2002 at 02:33:43PM +1030, Tom Cook wrote:
> I think I see what Nick wants, because I kinda wanna do the same
> thing.  I have compiled any number of kernels before, and know what I
> am doing.  But I am quite happy with the kernel I have straight out of
> the box except that I need to apply a patch to my network card driver.
> So I have to completely reconfigure the kernel in all aspects to suit
> my system, which seems stupid when someone else has done it for me.
> All I want is the source tree that was used to compile the kernel that
> comes with potato, so that I can change four lines and recompile one
> module.  Is this available?
Folding at 72th char will be nice :)

Of course the SOURCE is available.  It's Debian, It's GNU!

$ apt-get source kernel-image-2.4.17-686-smp

should give you exact source.  But this is very complicated (Not for me,
leave this for Herbert Xu)

But most likely, all you need to do is use "source package" and copy
configuration off your current one as:

# cp /boot/config-2.4.17-686-smp /usr/src/kernel-source-2.4.17/.config
# make menuconfig
... 

(for more http://qref.sourceforge.net/quick/ch-kernel.en.html)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/      +



Reply to: