User:Happy/funtoo-overlay

From Funtoo
< User:Happy
Revision as of 19:21, October 27, 2015 by Happy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 toe 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.

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