Anthony E. Caudel wrote:
> I have one computer that currently does not have internet access.  Can I
> copy a freshly sync'ed portage tree (/usr/portage/*) from another
> computer to this one?  Or does the tree have some sort of per-computer
> dependencies (use-flags, etc.)?
> 
> Tony

Just copy it (exclude distfiles and packages).  All the site specific stuff 
goes in /etc and /var.  I've found squashfs useful for this purpose.

mksquashfs /usr/portage /tmp/portage.squash -e distfiles packages
mount -o loop -t squashfs /tmp/portage.squash /usr/portage

Actually, if you choose to use squashfs, you probably want to use alternative 
values for DISTDIR and PKGDIR since /usr/portage will be read-only.

Zac
-- 
gentoo-user@gentoo.org mailing list

Reply via email to