backbone.ws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gentoo:portage:git [2012/03/12 11:52] kolangentoo:portage:git [2012/04/26 06:55] (current) – [Portage Synchronization.] kolan
Line 10: Line 10:
 Also add Portage SYNC variable to make.conf. Also add Portage SYNC variable to make.conf.
 <code bash | SYNC command in make.conf> <code bash | SYNC command in make.conf>
-echo 'SYNC="git://github.com/funtoo/portage.git"' >> /etc/make.conf+echo 'SYNC="git://git.calculate.ru/calculate/portage.git"' >> /etc/make.conf
 </code> </code>
 ===== Setting up portage. ===== ===== Setting up portage. =====
 Clone Git repo with recent history of portage tree. Clone Git repo with recent history of portage tree.
 <code bash | Setting up Git portage> <code bash | Setting up Git portage>
-rm -rf /usr/bin/portage +rm -rf /usr/portage 
-git clone git://github.com/funtoo/portage.git -b gentoo.org --depth=1 /usr/bin/portage +git clone --branch=master --depth=1 -- git://git.calculate.ru/calculate/portage.git /usr/portage 
-echo 'profile-formats = portage-1' >> /usr/bin/portage/metadata/layout.conf+mkdir /usr/portage/packages
 </code> </code>
- 
 ===== Portage Synchronization. ===== ===== Portage Synchronization. =====
 Portage and metadata might be synchronized by this way. Metadata must be updated after each //eix-sync// run. Portage and metadata might be synchronized by this way. Metadata must be updated after each //eix-sync// run.
 <code bash | Sync portage> <code bash | Sync portage>
-eix-sync && egencache --repo=gentoo --update --jobs=$((`grep "^processor" /proc/cpuinfo | wc -l`+1))+eix-sync 
 +egencache --repo=gentoo --update --jobs=$((`grep "^processor" /proc/cpuinfo | wc -l`+1)) # # Only for Git servers without metadata
 </code> </code>
  
 ===== Portage Overlays. ===== ===== Portage Overlays. =====
-If you have an overlay for example in /usr/local/portage you need to set its name like this.+If you have an overlay for example in /usr/local/portage you need to set it'name like this.
 <code bash | Portage repo name> <code bash | Portage repo name>
-mkdir -p /usr/local/portage/profiles && echo gentoo_overlay >> /usr/local/portage/profiles/repo_name+mkdir -p /usr/local/portage/profiles && echo gentoo_overlay > /usr/local/portage/profiles/repo_name
 </code> </code>