Re: recipe for kernel build...
Great, that was the clue I needed - thanks!
So how does this look as a recipe for rebuilding my 2.6.8-2-386
kernel from source:
apt-get install kernel-tree-2.6.8
apt-get install pcmcia-source
cd /usr/src
tar jxf kernel-source-2.6.8.tar.bz2
tar -xvzf pcmcia-cs.tar.gz
cd kernel-source-2.6.8
cp /boot/config-2.6.8-2-386 .config
make-kpkg clean
make-kpkg --revision=libretto.1.0 kernel_image.
this is where I am up to at the moment.... still building so
the rest is untested...
make-kpkg modules_image
dpkg -i ../kernel-image-2.6.8-386_libretto.1.0_i386.deb
dpkg -i ../modules-imageXX.deb
shutdown -r now
Let me know if I have overlooked anything..
If it all works, I can just
make xconfig
and start optimizing for my particular CPU (mmx) and stripping out
some of the unwanted drivers, and then repeat the process above...
I have discovered that the 'make xconfig' won't work unless
the qt3-dev-tools package is installed, so perhaps that should
be added to the recipe as well..
Thanks,
DigbyT
On Thu, Jan 26, 2006 at 02:00:56PM +0000, Magnus Therning wrote:
>
> For building take a look at kernel-package.
>
> The config for the installed kernels can be found in /boot/config-*.
>
> /M
>
> --
> Magnus Therning (OpenPGP: 0xAB4DFBA4)
> magnus@therning.org
> http://therning.org/magnus
--
Digby R. S. Tarvin digbyt(at)digbyt.com
http://www.digbyt.com
Reply to: