For automatic updating, just
- Code: Select all
! git -C /etc/portage pull
- Code: Select all
git config --add branch.autosetuprebase always
git config --add rebase.autosquash true
git config --add rebase.autostash true
git config --add branch.myconf.remote origin
git config --add branch.myconf.merge refs/heads/master
git config --add branch.myconf.rebase true
Instructions for older installs:
Hi,
By default, Sabayon installs several configuration files for Portage which are intended to reflect the settings used when creating packages for Entropy. However, these files are never updated, which can become problematic if you use Portage. For example, if your install is more than a year old, you probably have the following in your make.conf:
## FUCK KILL PYTHON 3 WITH FIRE ##
# Avoids python.eclass to compile stuff for Python 3
USE_PYTHON="2.7"
PYTHON_TARGETS="python2_7"
However, this hasn't applied to Entropy packages since January, which means that emerging affected packages would result in unobvious differences to the existing packages.
Ideally these files would be part of the entropy package, but that's a job for the maintainers (and somewhat tricky, I suspect, given that the files are stored in a different repository to entropy).
I've therefore written a short script for automatically updating these files. I suggest adding the following line to /etc/eix-sync.conf to call it:
! /var/lib/entropy/sync-entropy-files.sh
Hope someone finds this useful.
Script source.
EDIT: Added article to wiki.