Re: Compilazione kernel
Ciao Raffaele,
e un cordiale saluto a tutti i partecipanti alla lista ...
On Wed, Jul 20, 2005 at 01:53:12PM +0200, Hugh Hartmann wrote:
Aggiugo i seguenti suggerimenti prima di compilare il kernel:
Unpacking kernel sources:
-------------------------
Some of the suggestions about where to unpack the kernel packages are
a) /tmp/linux
b) /var/tmp/linux
c) /usr/local/src/<whatever>
d) /usr/src/linux-X.X.XX; where X.X.XX is the version number of the
kernel. Remember to re-link /usr/src/linux to point to this
directory, like: (cd /usr/src; rm linux; ln -s linux-X.X.XX)
Il punto d e' importante .... :-)
[...]
> For the Brave and the impatient:
> 1% cd <kernel source tree>
> 2% make config # or make menuconfig or make xconfig and configure
> 3% make-kpkg clean
> 4% fakeroot make-kpkg --revision=custom.1.0 kernel_image
> 5# dpkg -i ../kernel-image-X.XXX_1.0_<arch>.deb
> 6# shutdown -r now # If and only if LILO worked or you have a means of
> # booting the new kernel. YOU HAVE BEEN WARNED!!
>
> With the addition of fakeroot ( a really nice program, I recommend
> it) Steps 1 to 4 can be carried out as a non root user. Step 5 does
> require root privileges.
>
[...]
Au Revoire
Hugh Hartmann
Reply to: