Changes

Jump to: navigation, search

Build Server

142 bytes added, 07:08, 25 August 2014
/* Chroot Setup */
|cp -af /etc/resolv.conf "${stagingRoot}/etc/"
|git clone "${PORTAGE_GIT_REPO}" "${stagingRoot}/usr/portage"
|chmod -R a+rX "${stagingRoot}/usr/portage"
|chroot "${stagingRoot}" /usr/bin/env -i HOME{{=}}"/root" TERM{{=}}"${TERM}" /bin/bash --login
|}}
{{Note|We are deliberately using a special command for entering the chroot to avoid leaking environment variables}}
* Install {{Package|app-portage/layman}} and probably {{Package|dev-vcs/git}} to install overlays
[[Category:Infrastructure]]