From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to teach emerge -sync to sync packages?
Date: Fri, 18 Jan 2008 18:00:55 +0200 [thread overview]
Message-ID: <200801181800.55441.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <tkrat.05b0b835403ffc8c@igpm.rwth-aachen.de>
On Friday 18 January 2008, Helmut Jarausch wrote:
> 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.
Have you looked at the various PORTAGE_RSYNC_* options in 'man 5
make.conf' ?
Alternatively you could just create a wrapper script (called say
emerge-world) which does the correct combination of your custom
commands, then run that from cron on the slaves
alan
> 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
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-01-18 16:07 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
2008-01-18 16:00 ` Dale
2008-01-18 16:00 ` Alan McKinnon [this message]
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=200801181800.55441.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--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