2017-10-09 02:27:09 +00:00
|
|
|
## With Gentoo repos.conf:
|
|
|
|
sudo /bin/bash -c 'echo "[ace-overlay]
|
|
|
|
location = /usr/local/portage/ace-overlay
|
|
|
|
sync-type = git
|
2018-04-02 00:20:18 +00:00
|
|
|
sync-uri = http://git.lan/ace/ace-overlay.git
|
2017-10-09 02:27:09 +00:00
|
|
|
auto-sync = yes
|
|
|
|
clone-depth = 0" > /etc/portage/repos.conf/ace-overlay.conf'
|
|
|
|
|
|
|
|
## With Layman:
|
2018-04-02 00:43:21 +00:00
|
|
|
curl -k --request GET "http://git.lan/api/v4/projects/2/repository/files/ace-overlay.xml?ref=master" 2>/dev/null | python2.7 -c 'import sys, json, base64; print base64.standard_b64decode(json.load(sys.stdin)["content"])' > /tmp/ace-overlay.xml
|
2017-10-09 02:27:09 +00:00
|
|
|
|
|
|
|
sudo layman -o file:///tmp/ace-overlay.xml -f -a ace-overlay
|