Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]compilare con genkernel?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
akx
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 107
Location: Treviso

PostPosted: Sat Jul 09, 2005 5:55 pm    Post subject: [RISOLTO]compilare con genkernel? Reply with quote

Come faccio a compilare il kernel 2.6.12-gentoo-r4 con genkernel? facendo:
Code:

#emerge gentoo-sources; genkernel --menuconfig all;

mi scarica il 2.6.12-gentoo-r4 però mi ricompila il 2.6.11-gentoo-r11....devo per forza compilarlo a mano o cè un sistema perchè lo faccia genkernel al posto mio? Magari tenendo pure il 2.6.11 senza eliminarlo


Last edited by akx on Sat Jul 09, 2005 8:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Jul 09, 2005 5:57 pm    Post subject: Re: compilare con genkernel? Reply with quote

genkernel usa il kernel che trova in /usr/src/linux
cambia quel link a seconda di quello che vuoi compilare
Back to top
View user's profile Send private message
akx
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 107
Location: Treviso

PostPosted: Sat Jul 09, 2005 6:02 pm    Post subject: Re: compilare con genkernel? Reply with quote

k.gothmog wrote:
genkernel usa il kernel che trova in /usr/src/linux
cambia quel link a seconda di quello che vuoi compilare

intendi che devo cambiarlo nel genkernel.conf? E quando faccio emerge gentoo-sources dove vengono scaricati i sorgenti se non in /usr/src/linux?
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Jul 09, 2005 6:04 pm    Post subject: Re: compilare con genkernel? Reply with quote

akx wrote:
intendi che devo cambiarlo nel genkernel.conf?

no intendo che devi proprio cancellare il link
quando scarichi i sorgenti vengono scaricati in una directory dedicata... /usr/src/linux è solo un link simbolico e lo fai puntare a quello che vuoi tu
Back to top
View user's profile Send private message
akx
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 107
Location: Treviso

PostPosted: Sat Jul 09, 2005 6:45 pm    Post subject: Reply with quote

scusa, ma non c'arrivo, nella cartella /usr/src/linux io vedo questo:
Code:

linux # ls
COPYING           Makefile        arch     init    net          usr
CREDITS           Module.symvers  crypto   ipc     patches.txt  vmlinux
Documentation     README          drivers  kernel  scripts
MAINTAINERS       REPORTING-BUGS  fs       lib     security
MAINTAINERS.orig  System.map      include  mm      sound

intendi che devo cancellare tutto? O addirittura la cartella /usr/src/linux ? e poi rifare
Code:

#emerge gentoo-sources; genkernel --menuconfig all;

?
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Jul 09, 2005 7:41 pm    Post subject: Reply with quote

non mi sembra un concetto molto difficile:
/usr/src/linux non è una directory (chiamiamole con il loro nome, per favore, non con la nomenclatura per deficenti introdotta da microsoft) ma un link a un'altra directory.
se installi il kernel 2.6.4-zio-pino viene spacchettato in /usr/src/2.6.4-zio-pino
se vuoi compilare quel kernel crei il link /usr/src/linux che punta a /usr/src/2.6.4-zio-pino.
se vuoi cambiare kernel cancelli il link che punta a /usr/src/2.6.4-zio-pino e ne crei uno (sempre /usr(src/linux) che punta a /usr/src/2.6.4-ostia-cavallo
Back to top
View user's profile Send private message
akx
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 107
Location: Treviso

PostPosted: Sat Jul 09, 2005 7:51 pm    Post subject: Reply with quote

ok ci sono arrivato, grazie.
Vedo se funge quel che ho capito e poi metto risolto al topic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum