This is an old revision of the document!
Portage synchronization using Git.
Upgrading portage.
Until Portage >= 2.2 stabilizes you need to add appropriate keyword.
Upgrading portage
echo '<sys-apps/portage-2.3.0 **' >> /etc/portage/package.keywords emerge -1 portage
Also add Portage SYNC variable to make.conf.
SYNC command in make.conf
echo 'SYNC="git://github.com/funtoo/portage.git"' >> /etc/make.conf
Setting up portage.
Clone Git repo with recent history of portage tree.
Setting up Git portage
rm -rf /usr/bin/portage git clone git://github.com/funtoo/portage.git -b gentoo.org --depth=1 /usr/bin/portage echo 'profile-formats = portage-1' >> /usr/bin/portage/metadata/layout.conf
Portage Synchronization.
Portage and metadata might be synchronized by this way. Metadata must be updated after each eix-sync run.
Sync portage
eix-sync && egencache --repo=gentoo --update --jobs=$((`grep "^processor" /proc/cpuinfo | wc -l`+1))