Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to teach emerge -sync to sync packages?
Date: Fri, 18 Jan 2008 16:01:07
Message-Id: 4790CD11.4060407@bellsouth.net
In Reply to: Re: [gentoo-user] how to teach emerge -sync to sync packages? by Helmut Jarausch
1 Helmut Jarausch wrote:
2 > On 18 Jan, Dirk Heinrichs wrote:
3 >
4 >> Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch:
5 >>
6 >>> Hi,
7 >>>
8 >>> I haven't found out how to teach emerge to rsync
9 >>> /usr/portage/packages
10 >>> as well.
11 >>>
12 >> This is not was emerge -sync is for. If you want to have _all_ distfiles
13 >> available locall, you have to setup a mirror. AFAIK this is also documented
14 >> somewhere.
15 >>
16 >>
17 >
18 > No, I have a different situation.
19 > I many several identical machines.
20 > On the 'main' machine I have
21 > FEATURES="buildpkg"
22 > in /etc/make.conf
23 >
24 > Then, from time to time I synchronize the other machines.
25 > On these machines,
26 > SYNC="rsync://<my main machine>/gentoo-portage
27 >
28 > On the 'slaves' I do
29 > rm -f /usr/portage/metadata/timestamp*
30 > emerge --sync
31 >
32 > and I'd like this 'sync' to rsync /usr/portage/packages,
33 > as well, since lateron I do
34 >
35 > emerge --update --deep --usepkg world
36 >
37 > to avoid length compilation of packages on
38 > each machine.
39 >
40 > Currently I need
41 > /usr/bin/rsync -avz --delete --exclude-from=/etc/portage/rsync_excludes rsync://<main machine>/gentoo-portage/ .
42 > in addition to
43 > emerge -sync
44 >
45 > I just wonder if it's possible to tell emerge somewhere to not exclude
46 > the 'packages' subdirectory.
47 >
48 > thanks for all your comments,
49 > Helmut.
50 >
51 >
52 >
53
54 I'm not sure this will help but have you checked rsyncd.conf? Mine has
55 this little bit in it:
56
57 [gentoo-portage]
58 path = /usr/portage
59 comment = Gentoo Portage tree
60 exclude = /distfiles /packages
61
62
63 May want to remove the excludes there. See if that helps.
64
65 Dale
66
67 :-) :-)
68 --
69 gentoo-user@l.g.o mailing list