Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gentoo:portage:git [2012/03/12 11:34] – [Upgrading portage.] kolan | gentoo: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 ' | + | echo ' |
</ | </ | ||
===== 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 / |
- | git clone git://github.com/funtoo/ | + | git clone --branch=master --depth=1 -- git://git.calculate.ru/calculate/ |
- | echo ' | + | mkdir / |
</ | </ | ||
- | |||
===== Portage Synchronization. ===== | ===== Portage Synchronization. ===== | ||
Portage and metadata might be synchronized by this way. Metadata must be updated after each // | Portage and metadata might be synchronized by this way. Metadata must be updated after each // | ||
<code bash | Sync portage> | <code bash | Sync portage> | ||
- | eix-sync | + | eix-sync |
+ | # egencache --repo=gentoo --update --jobs=$((`grep " | ||
+ | </ | ||
+ | |||
+ | ===== Portage Overlays. ===== | ||
+ | If you have an overlay for example in / | ||
+ | <code bash | Portage repo name> | ||
+ | mkdir -p / | ||
</ | </ |