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.git
Refer 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.conf
or 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
EOM
or 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
EOM
Refer to repos.conf
page in Gentoo Wiki for more details.