Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel for one source-kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Fri Nov 16, 2012 3:44 pm    Post subject: genkernel for one source-kernel Reply with quote

I have 3 sources(rt-source zen-source gentoo-source) on my desktop and i want to use genkernel to one of them(zen)Which is the right command to do that?
Thank you
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Nov 16, 2012 3:51 pm    Post subject: Reply with quote

Along with several other packages, genkernel depends on the /usr/src/linux symlink to locate the kernel source. You need to set that to your zen-sources directory, like so:
Code:
cd /usr/src
rm linux
ln -s <zen-sources-directory> linux
genkernel all
If you've already got a .config file in there, then genkernel will erase it and use one of its own by default. You can prevent that by including the --oldconfig command line option.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Fri Nov 16, 2012 4:08 pm    Post subject: Reply with quote

so is it the same with eselect command?
eselect kernel 3?(zen is the 3rd)

then first
eselect kernel set 3
second
genkernel all ?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Nov 16, 2012 4:20 pm    Post subject: Reply with quote

Yep, that too will work. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 203

PostPosted: Fri Nov 16, 2012 4:27 pm    Post subject: Reply with quote

ok thank you i was afraid to run it without confirmation
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Fri Nov 16, 2012 5:32 pm    Post subject: Reply with quote

works too :
Code:
genkernel --kerneldir=/usr/src/linux-..../
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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