Changes

Build Server

993 bytes added, 07:51, 1 June 2015
|git clone "${PORTAGE_GIT_REPO}" portage
|cd portage
|PORTAGE_RSYNC_EXTRA_OPTS{{=}}"--exclude{{=}}/.git--exclude{{=}}/.gitignore" PORTDIR{{=}}"${PWD}" emerge-webrsync
|output=<pre>
Fetching most recent snapshot ...
{{Cmd
|PORTAGE_RSYNC_EXTRA_OPTS{{=}}"--exclude{{=}}/.git--exclude{{=}}/.gitignore" PORTDIR{{=}}"${PWD}" emerge-webrsync
|output=<pre>
Fetching most recent snapshot ...
* Install {{Package|app-portage/layman}} and probably {{Package|dev-vcs/git}} to install overlays
* You may want to add a mirror configuration if you have local mirrors:
{{File|/etc/portage/make.conf||<source lang='bash'>
GENTOO_MIRRORS="https://mirror.example.com/public/gentoo"
</source>}}
 
* If needed, put the mirror for fetch restricted ebuilds in a local mirror definition:
{{File|/etc/portage/mirrors||<pre>
local https://mirror.example.com/restricted/gentoo
</pre>}}
 
* Add the following to generate binary packages during installation:
{{File|/etc/portage/make.conf||<source lang='bash'>
FEATURES="${FEATURES} buildpkg cgroup ipc-sandbox network-sandbox parallel-fetch"
</source>}}
 
* Make sure that the repository configuration points to your git mirror as well:
{{File|/etc/portage/repos.conf/gentoo.conf||<source lang='ini'>
[DEFAULT]
main-repo = gentoo
 
[gentoo]
location = /usr/portage
sync-type = git
sync-uri = https://mirror.example.com/versioned/portage.git
</source>}}
 
* Rebuild everything:
{{RootCmd|emerge -e world}}
[[Category:Infrastructure]]
SLB
17
edits