Custom overlay to reuse on different machines
This method uses the eselect module eselect-repository. Issue:
$ sudo eselect repository add hoefling-private git https://github.com/hoefling/hoefling-private-overlay.gitRefer to eselect-repository module page in Gentoo Wiki for more details.
This method assumes usage of the new portage sync capabilities. Issue:
$ sudo wget -P /etc/portage/repos.conf/
https://raw.githubusercontent.com/hoefling/hoefling-private-overlay/master/hoefling-private-overlay.confor create the settings file manually:
$ cat <<EOM >/etc/portage/repos.conf/hoefling-private.conf
[hoefling-private]
location = /usr/local/overlay/hoefling-private
sync-type = git
sync-uri = https://github.com/hoefling/hoefling-private-overlay.git
auto-sync = yes
EOMor modify /etc/portage/repos.conf file if you maintain it as one:
$ cat <<EOM >>/etc/portage/repos.conf
[hoefling-private]
location = /usr/local/overlay/hoefling-private
sync-type = git
sync-uri = https://github.com/hoefling/hoefling-private-overlay.git
auto-sync = yes
EOMRefer to repos.conf page in Gentoo Wiki for more details.