| View previous topic :: View next topic |
| Author |
Message |
gentoorockerfr n00b

Joined: 25 May 2012 Posts: 54
|
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: 6422 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 _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
gentoorockerfr n00b

Joined: 25 May 2012 Posts: 54
|
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: 6422 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Nov 16, 2012 4:20 pm Post subject: |
|
|
Yep, that too will work.
- John _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
gentoorockerfr n00b

Joined: 25 May 2012 Posts: 54
|
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 Advocate


Joined: 01 Feb 2004 Posts: 2406 Location: Hamburg/Germany
|
Posted: Fri Nov 16, 2012 5:32 pm Post subject: |
|
|
works too : | Code: | | genkernel --kerneldir=/usr/src/linux-..../ |
|
|
| Back to top |
|
 |
|