Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do install use non-gentoo sources?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
aldube
n00b
n00b


Joined: 19 Mar 2005
Posts: 36
Location: Ontario, Canada

PostPosted: Mon Mar 28, 2005 6:30 am    Post subject: How do install use non-gentoo sources? Reply with quote

How do install use non-Gentoo sources? Especially if I have a lot of these. Is there way to get ¨emerge¨ to use these sources 1st before going to a Gentoo mirror?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Mon Mar 28, 2005 6:35 am    Post subject: Reply with quote

http://dev.gentoo.org/~rac/homebrew-sources-2.6.99.ebuild
Put this into your overlay then emerge homebrew-sources.

You will need to download the linux kernel files yourself, of course.
Back to top
View user's profile Send private message
aldube
n00b
n00b


Joined: 19 Mar 2005
Posts: 36
Location: Ontario, Canada

PostPosted: Mon Mar 28, 2005 6:53 am    Post subject: Reply with quote

kimchi_sg wrote:
http://dev.gentoo.org/~rac/homebrew-sources-2.6.99.ebuild
Put this into your overlay then emerge homebrew-sources.

You will need to download the linux kernel files yourself, of course.


Thanks this looks great; where put this file exactly?
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Mon Mar 28, 2005 7:06 am    Post subject: Reply with quote

Into your Portage overlay directory.

Set the directory by editing PORTDIR_OVERLAY in make.conf. For example, if you want to use /usr/localportage for your overlay, this command will suffice:
Code:
echo PORTDIR_OVERLAY="/usr/local/portage" >> /etc/make.conf

Then create the directory, and a "sys-kernel" subdirectory for the category of the kernel sources. Portage will complain if you do not make a category subdirectory.
Code:
mkdir -p /usr/local/portage/sys-kernel

You will need to place the ebuild into the sys-kernel directory.
Back to top
View user's profile Send private message
aldube
n00b
n00b


Joined: 19 Mar 2005
Posts: 36
Location: Ontario, Canada

PostPosted: Mon Mar 28, 2005 7:46 am    Post subject: Reply with quote

Awesome;
I even found a homebrew tutorial;

http://gentoo-wiki.com/TIP_Overlays

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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