public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to teach emerge -sync to sync packages?
Date: Fri, 18 Jan 2008 16:52:07 +0100 (CET)	[thread overview]
Message-ID: <tkrat.05b0b835403ffc8c@igpm.rwth-aachen.de> (raw)
In-Reply-To: <200801181205.34023.dirk.heinrichs.ext@nsn.com>

On 18 Jan, Dirk Heinrichs wrote:
> Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
>> Hi,
>>
>> I haven't found out how to teach emerge to rsync
>> /usr/portage/packages
>> as well.
> 
> This is not was emerge -sync is for. If you want to have _all_ distfiles 
> available locall, you have to setup a mirror. AFAIK this is also documented 
> somewhere.
> 

No, I have a different situation. 
I many several identical machines. 
On the 'main' machine I have
FEATURES="buildpkg"
in /etc/make.conf

Then, from time to time I synchronize the other machines.
On these machines, 
SYNC="rsync://<my main machine>/gentoo-portage

On the 'slaves' I do
rm -f /usr/portage/metadata/timestamp*
emerge --sync

and I'd like this 'sync' to rsync /usr/portage/packages,
as well, since lateron I do

emerge --update --deep --usepkg world

to avoid length compilation of packages on
each machine.

Currently I need
/usr/bin/rsync -avz --delete --exclude-from=/etc/portage/rsync_excludes rsync://<main machine>/gentoo-portage/ .
in addition to
emerge -sync

I just wonder if it's possible to tell emerge somewhere to not exclude
the 'packages' subdirectory.

thanks for all your comments,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-01-18 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 10:17 [gentoo-user] how to teach emerge -sync to sync packages? Helmut Jarausch
2008-01-18 10:38 ` आशीष शुक्ल Ashish Shukla
2008-01-18 11:05 ` Dirk Heinrichs
2008-01-18 15:52   ` Helmut Jarausch [this message]
2008-01-18 16:00     ` Dale
2008-01-18 16:00     ` Alan McKinnon
2008-01-18 16:52       ` Helmut Jarausch
2008-01-18 16:48     ` Dirk Heinrichs
2008-01-18 11:08 ` Daniel Iliev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tkrat.05b0b835403ffc8c@igpm.rwth-aachen.de \
    --to=jarausch@igpm.rwth-aachen.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox