View previous topic :: View next topic |
Author |
Message |
kleinishere n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Sonic/Sega_-_Sonic.gif)
Joined: 23 Nov 2003 Posts: 37
|
Posted: Sun Sep 19, 2004 11:40 pm Post subject: [SOLVED] n00b question - changing default kernel directory |
|
|
Whenever I emerge things or deal with kernels in installing and patching things it automatically goes to /usr/src/linux. I have manually downloaded, extracted, and compiled the 2.6.8.1 kernel in /usr/src/linux-2.6.8.1 . I would like it to automatically go there instead of going to /usr/src/linux.
One example of what it does is shown when I emerge madwifi-driver:
Code: | bash-2.05b# ACCEPT_KEYWORDS="~x86" emerge madwifi-driver-0.1_pre20040906.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/madwifi-driver-0.1_pre20040906 to /
>>> md5 src_uri ;-) madwifi-driver-0.1_pre20040906.tar.bz2
>>> md5 src_uri ;-) madwifi-driver-0.1_pre20040906-gentoo.patch.bz2
>>> Unpacking source...
>>> Unpacking madwifi-driver-0.1_pre20040906.tar.bz2 to /var/tmp/portage/madwifi-driver-0.1_pre20040906/work
>>> Unpacking madwifi-driver-0.1_pre20040906-gentoo.patch.bz2 to /var/tmp/portage/madwifi-driver-0.1_pre20040906/work
* Applying madwifi-driver-0.1_pre20040906-gentoo.patch.bz2... [ ok ]
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.7-gentoo-r11 found in /usr/src/linux
>>> Source unpacked.
|
So if anyone knows how to make it go to /usr/src/linux-2.6.8.1 rather than /usr/src/linux I would very much appreciate it!
Thanks in advance,
Michael _________________ Pain is weakness leaving the body.
Last edited by kleinishere on Sun Sep 19, 2004 11:51 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsonn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/14681432184140f50140eb0.png)
Joined: 03 Jun 2004 Posts: 550
|
Posted: Sun Sep 19, 2004 11:45 pm Post subject: |
|
|
/usr/src/linux is a symbolic link to the correct directory.
To update it, just do:
Code: |
cd /usr/src
rm linux
ln -s linux-2.6.8.1 linux
|
_________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kleinishere n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Sonic/Sega_-_Sonic.gif)
Joined: 23 Nov 2003 Posts: 37
|
Posted: Sun Sep 19, 2004 11:50 pm Post subject: |
|
|
That worked wonderfully, now onto my wireless
thanks a lot 26199 _________________ Pain is weakness leaving the body. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|