Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Symlink for mm-sources?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 232
Location: Austin, Texas. USA

PostPosted: Wed Jan 07, 2004 8:36 am    Post subject: Symlink for mm-sources? Reply with quote

I'm building my own kernel for the first time and decided to go with the more up-to-date mm-sources. I'm building from scratch, not updating an existing kernel.

Code:
emerge mm-sources


That works fine.

But what is the correct symlink to set for it? For the vanilla gentoo-dev-sources it's:

Code:
 ln -sf /usr/linux-2.6.0 /usr/src/linux


But what would I use for mm-sources? I've tried various things but no luck. I'm sure it's another easy one, but I'm still learning here..
Back to top
View user's profile Send private message
Tim77
Apprentice
Apprentice


Joined: 13 May 2003
Posts: 211
Location: Germany

PostPosted: Wed Jan 07, 2004 9:32 am    Post subject: Reply with quote

Go to your /usr/src directory and look for the name of the kernel-directory. It should be something like
Code:
linux-2.6.0-mm1

Your /usr/src/linux then sould point to this directory.
Code:
ln -sf /usr/linux-2.6.0-mm1 /usr/src/linux
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Wed Jan 07, 2004 2:06 pm    Post subject: Reply with quote

Well if you have ACCEPT_KEYWORDS set to ~x86 you will have a more recent kernel, do a
Code:
ls -la /usr/src/

In my case the latest mm-sources that I've emerged is linux-2.6.1-rc1-mm2.


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 232
Location: Austin, Texas. USA

PostPosted: Wed Jan 07, 2004 7:02 pm    Post subject: Reply with quote

Code:
ln -sf /usr/linux-2.6.0-mm1 /usr/src/linux


I'm positive I tried that. I'll give it another shot though.



Quote:

Well if you have ACCEPT_KEYWORDS set to ~x86 you will have a more recent kernel, do a
Code:
ls -la /usr/src/

In my case the latest mm-sources that I've emerged is linux-2.6.1-rc1-mm2.


I haven't set it to ~x86, but I might do that to get the newer MM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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