I need to maintain some local overlays (mostly tied to various ::science ebuilds), and had done so using the sequence https://www.funtoo.org/Local_Overlay, i.e.
This has worked fine: I could sync portage with 'ego sync', and still have access to the ebuilds within these overlays. However, running 'ego sync' now nukes these overlays -- note "Removing repos.conf/..." messages below
# ego sync
Syncing meta-repo
Already on 'master'
Your branch is up-to-date with 'origin/master'.
HEAD is now at 9a39aea kit updates
Removing repos.conf/funtoo
Removing repos.conf/mylocal.conf
Removing repos.conf/science.conf
Already up-to-date.
Syncing core-kit branch 1.0-prime
Already on '1.0-prime'
Your branch is up-to-date with 'origin/1.0-prime'.
HEAD is now at 9e060d4c updates
Already up-to-date.
Syncing core-hw-kit branch master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
HEAD is now at e385111 updates
Already up-to-date.
Syncing security-kit branch 1.0-prime
Already on '1.0-prime'
Your branch is up-to-date with 'origin/1.0-prime'.
HEAD is now at ff9ab7f updates
Already up-to-date.
WARNING: Kit xorg-kit branch master specified in ego.conf is not currently active; using default kit instead.
Syncing xorg-kit branch 1.17-prime
Already on '1.17-prime'
...
So I presume that I should no longer be using 'ego sync' and just sync manually, i.e.,
# cd /var/git/meta-repo/
# git pull
# git submodule update
# cd /var/git/meta-repo/kits/xorg-kit/
# git checkout master
# git pull
# cd
# chown -R portage:portage /var/git/meta-repo
# eix-update
Question
rsa4046
I need to maintain some local overlays (mostly tied to various ::science ebuilds), and had done so using the sequence https://www.funtoo.org/Local_Overlay, i.e.
# mkdir /var/git/overlay # cd /var/git/overlay # git clone http://github.com/funtoo/skeleton-overlay.git # mv skeleton-overlay myoverlayname # echo "myoverlayname" > /var/git/overlay/myoverlayname/profiles/repo_name # echo "masters = core-kit" >> /var/git/overlay/myoverlayname/metadata/layout.conf # echo "[myoverlayname]" >> /etc/portage/repos.conf/myoverlayname.conf # echo "location = /var/git/overlay/myoverlayname" >> /etc/portage/repos.conf/myoverlayname.conf # echo "masters = core-kit" >> /etc/portage/repos.conf/myoverlayname.conf # echo "auto-sync = no" >> /etc/portage/repos.conf/myoverlayname.conf # echo "priority = 10" >> /etc/portage/repos.conf/myoverlayname.conf
This has worked fine: I could sync portage with 'ego sync', and still have access to the ebuilds within these overlays. However, running 'ego sync' now nukes these overlays -- note "Removing repos.conf/..." messages below
So I presume that I should no longer be using 'ego sync' and just sync manually, i.e.,
# cd /var/git/meta-repo/ # git pull # git submodule update # cd /var/git/meta-repo/kits/xorg-kit/ # git checkout master # git pull # cd # chown -R portage:portage /var/git/meta-repo # eix-update
Is that correct or am I missing something?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts