Changes

Jump to: navigation, search

Gentoo template creation

3 bytes added, 14:45, 27 December 2011
Making distfiles and portage tree of the host system available in a container
<pre>
mkdir /vz/root/7771001/usr/portagemount -o bind /usr/portage /vz/root/7771001/usr/portage
</pre>
<pre>
mount -n -o bind /usr/portage/distfiles /vz/root/7771001/usr/portage/distfiles
</pre>
For security reasons, you should have these directories mounted only while installing software into a container.
{{Note|you have to <code>umount /vz/root/7771001/usr/portage/distfiles</code> before trying to stop your container.}} 
== Dedicated installation of portage ==
Anonymous user

Navigation menu