Ow Mun Heng ha scritto:

On Mon, 2005-02-07 at 04:35, Walter Dnes wrote:


On Sat, Feb 05, 2005 at 11:10:37AM +0100, Bastian Balthazar Bux wrote



I don't think I made myself clear enough. I do *NOT* want to
duplicate /portage/distfiles. I want to duplicate machine A's definition
of "world" on Machine B.






try:
# emerge -uDpv --newuse --noreplace $WORLD_OF_PIII
this should both keep updated your machine and emerge all the packages not present.
The --noreplace is needed to not force portage recompile a package already present.


better:

# scp 192.168.0.2:/var/lib/portage/world /tmp/piii_world
# emerge -uDav --newuse --noreplace  $(cat /tmp/piii_world)

on your p4


Thank you very much. That's exactly what I was looking for.



SInce we're talking about it _this_ way, is there any possibility in
actually just mounting NFS that points straight to
/var/lib/portage/world?? That way, the scp won't be needed.


not really, /var/lib/portage/ contains two files on my machine, config and world, both are specific for their box, modified from portage of that box.
you can mount it in a different directory say /var/lib/portage_piii/ and sync from that but not mount it directly in the same place.


cheers francesco

--
[email protected] mailing list



Reply via email to