Re: source code for kernel 2.6.8-2-386
Hello
john gennard (<joney@clara.co.uk>) wrote:
> I've installed 2.6.8-2-386 in Sid by 'apt-get install
> kernel-image-xxx'. Now, I need the source code and just can't
> locate it.
>
> Normally I don't put 'deb-src' in my sources.list, but I
> have now done so for 'unstable main' which is where I think
> it would be, and apt-get updated. 'apt-cache' doesn't help.
>
> In googling, I keep getting reference to 2.6.8-15, but as
> 2.6.8-2 was available as a package for installation, I
> thought the source code would there too.
If you need the source to compile some external driver module, use the
matching kernel-headers package instead. If you really need the source
package and the headers are not sufficient or do not work four you, you
need to:
1. install the kernel-source-2.6.8 package
2. extract the source archive in /usr/src
3. copy the config file for your kernel from /boot
to /usr/src/kernel-source-2.6.8/.config
4. edit the Makefile and set EXTRAVERSION to -2-386
5. run make prepare or maybe make
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Reply to: