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

Re: Compilazione kernel



Ciao Raffaele,
e un cordiale saluto a tutti i partecipanti alla lista ...

On Wed, Jul 20, 2005 at 12:22:39AM +0200, Raffaele D'Elia wrote:

> Sto cercando di ricompilare il kernel sulla mia sarge; ho scaricato il
> kernel-source-2.6.8-16, olter a kernel-package, fakeroot, devscripts,
> le lib5ncurses-dev (o come cavolo si chiama il pacchetto) e altri.
 
> La procedura che seguo è questa:
> tar -xjf kernel-source-2.6.8-16.tar.bz2
> cd kernel-source-2.6.8
> make-kpkg --append-to-version=.r1 --revision=base1 -config menuconfig
> configure
> (da notare che a questo punto la cartella debian contiene slo il file
> rules: niente changelog nè control)
> make-kpkg --rootcmd=fakeroot --append-to-version=.r1 --revision=base1
> --initrd kernel_image

Mah, forse dovresti seguire questi punti in ordine, benche' sia riferito a
un kernel datato, dovrebbero andare anche per il 2.6 .... :-)

[...]

 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: