View previous topic :: View next topic |
Author |
Message |
aldube n00b
Joined: 19 Mar 2005 Posts: 36 Location: Ontario, Canada
|
Posted: Mon Mar 28, 2005 6:30 am Post subject: How do install use non-gentoo sources? |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
|
Back to top |
|
|
aldube n00b
Joined: 19 Mar 2005 Posts: 36 Location: Ontario, Canada
|
Posted: Mon Mar 28, 2005 6:53 am Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Mon Mar 28, 2005 7:06 am Post subject: |
|
|
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 |
|
|
aldube n00b
Joined: 19 Mar 2005 Posts: 36 Location: Ontario, Canada
|
|
Back to top |
|
|
|