View previous topic :: View next topic |
Author |
Message |
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Fri Nov 16, 2012 3:44 pm Post subject: genkernel for one source-kernel |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Nov 16, 2012 3:51 pm Post subject: |
|
|
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 |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Fri Nov 16, 2012 4:08 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Nov 16, 2012 4:20 pm Post subject: |
|
|
Yep, that too will work.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
gentoorockerfr Apprentice
Joined: 25 May 2012 Posts: 203
|
Posted: Fri Nov 16, 2012 4:27 pm Post subject: |
|
|
ok thank you i was afraid to run it without confirmation |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Fri Nov 16, 2012 5:32 pm Post subject: |
|
|
works too : Code: | genkernel --kerneldir=/usr/src/linux-..../ |
|
|
Back to top |
|
|
|