On Wed, Jan 31, 2018 at 1:29 PM, allan gottlieb <[email protected]> wrote:
[snip]
> I have two questions, one trivial, one hopefully easy.
>
> 1. (trivial) In your recipe did you mean "rsync", not "sync"?
I sync ("emerge --sync") only one machine, and then I rsync from there to
my other computers. After the rsync is done, you need to do "emerge
--metadata" in the recipient machine (--sync does that for you
automatically).
> 2. I have a number of quickpkgs built. Is it needed that
> they all be updated and some removed or can I just do
> the following command
>
> rsync -Pvase ssh machine1:/var/portage/packages/www-client \
> /var/portage/packages
>
> Notes: I use /var not /usr for portage
> machine2 has no dir /var/portage/packages/www-client
I honestly don't know. There is a /usr/portage/packages/Packages with a lot
of meta information, and I'm not 100% sure whether is absolutely required.
Then again, creating binary packages is so fast that I usually delete
/usr/portage/packages after updating my non-compiling machines. I know of
people who maintain a large repository of binary packages (they can be
built automatically with FEATURES="buildpkg" in make.conf), but I just
create them when needed.
Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México