注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "User:Happy/funtoo-overlay"

From Funtoo
Jump to navigation Jump to search
(Created page with "If you're on a version of portage that supports repos.conf, you can add funtoo-overlay for testing purposes before the tree sync or to use ebuilds from the overlay itself. Her...")
 
Line 4: Line 4:
Assuming /etc/portage/repos.conf is a directory, create a file called /etc/portage/repos.conf/funtoo-overlay with the following contents.
Assuming /etc/portage/repos.conf is a directory, create a file called /etc/portage/repos.conf/funtoo-overlay with the following contents.


{{file|name=/etc/portage/repos.conf/funtoo-overlay|desc=adding funtoo-overlay toe repos.conf|body=
{{file|name=/etc/portage/repos.conf/funtoo-overlay|desc=adding funtoo-overlay to repos.conf|body=
[funtoo-overlay]
[funtoo-overlay]
location = /var/portage/funtoo-overlay
location = /var/portage/funtoo-overlay
Line 13: Line 13:


The location of the overlay can be anywhere you'd like, ensure that the top level directory above the overlay directory exists. In this case “/var/portage” must exist when creating this configuration. Again it does '''not''' have to specifically be in “/var/portage”, location may be edited to a location of your choosing. Just ensure that the top level directory exists.
The location of the overlay can be anywhere you'd like, ensure that the top level directory above the overlay directory exists. In this case “/var/portage” must exist when creating this configuration. Again it does '''not''' have to specifically be in “/var/portage”, location may be edited to a location of your choosing. Just ensure that the top level directory exists.
If /etc/portage/repos.conf is a file instead of a directory on your system, you may add the above as a block to the file. The same statement about location applies.


After the configuration is saved, you may `emerge --sync`, and it will clone the repository and make the overlay available for you to use.
After the configuration is saved, you may `emerge --sync`, and it will clone the repository and make the overlay available for you to use.

Revision as of 19:22, October 27, 2015

If you're on a version of portage that supports repos.conf, you can add funtoo-overlay for testing purposes before the tree sync or to use ebuilds from the overlay itself. Here's how.

Assuming /etc/portage/repos.conf is a directory, create a file called /etc/portage/repos.conf/funtoo-overlay with the following contents.

   /etc/portage/repos.conf/funtoo-overlay - adding funtoo-overlay to repos.conf
[funtoo-overlay]
location = /var/portage/funtoo-overlay
sync-type = git
sync-uri = https://github.com/funtoo/funtoo-overlay.git
auto-sync = yes

The location of the overlay can be anywhere you'd like, ensure that the top level directory above the overlay directory exists. In this case “/var/portage” must exist when creating this configuration. Again it does not have to specifically be in “/var/portage”, location may be edited to a location of your choosing. Just ensure that the top level directory exists.

If /etc/portage/repos.conf is a file instead of a directory on your system, you may add the above as a block to the file. The same statement about location applies.

After the configuration is saved, you may `emerge --sync`, and it will clone the repository and make the overlay available for you to use.