On Thu, 13 Oct 2005 12:52:40 +0000 (UTC), James wrote:

> I need to keep 2 portables synchronzied, particularly the /home/* files
> and the various ebuilds that are installed need to be the same.
 
> To Sychronize the /home/ files, I found unison. Any commnents
> or other recommendations?

I'd go with Unison, it's ideal for this sort of thing.

> AS far as keeping the installed packages /ebuilds/ concurrent,
> in some sort of semi-automated method, I'd settle for a script
> I could run that would check the installed packages, on both 
> portablesand give a list of packages on the one that are not 
> ont he second machine. Kind of like a 'diff for ebuilds' that
> would list the missing packages on the second portable.

Is the first portable always updated first? If so, I'd add buildpkg to
FEATURES in /etc/make.conf and make PKGDIR a directory accessible to
both, possibly via NFS. Then, provided your USE and CFLAGS are the same
(running the same make.conf on both would be easiest) to can synchronise
the second box with the first by copying over /var/lib/portage/world and
doing "emerge -uavDNk world".


-- 
Neil Bothwick

There is so much sand in Northern Africa that if it were spread out it
would completely cover the Sahara Desert.

Attachment: pgpqBE5rWtrF1.pgp
Description: PGP signature

Reply via email to