1 |
On 18 Jan, Dirk Heinrichs wrote: |
2 |
> Am Freitag, 18. Januar 2008 schrieb ext Helmut Jarausch: |
3 |
>> Hi, |
4 |
>> |
5 |
>> I haven't found out how to teach emerge to rsync |
6 |
>> /usr/portage/packages |
7 |
>> as well. |
8 |
> |
9 |
> This is not was emerge -sync is for. If you want to have _all_ distfiles |
10 |
> available locall, you have to setup a mirror. AFAIK this is also documented |
11 |
> somewhere. |
12 |
> |
13 |
|
14 |
No, I have a different situation. |
15 |
I many several identical machines. |
16 |
On the 'main' machine I have |
17 |
FEATURES="buildpkg" |
18 |
in /etc/make.conf |
19 |
|
20 |
Then, from time to time I synchronize the other machines. |
21 |
On these machines, |
22 |
SYNC="rsync://<my main machine>/gentoo-portage |
23 |
|
24 |
On the 'slaves' I do |
25 |
rm -f /usr/portage/metadata/timestamp* |
26 |
emerge --sync |
27 |
|
28 |
and I'd like this 'sync' to rsync /usr/portage/packages, |
29 |
as well, since lateron I do |
30 |
|
31 |
emerge --update --deep --usepkg world |
32 |
|
33 |
to avoid length compilation of packages on |
34 |
each machine. |
35 |
|
36 |
Currently I need |
37 |
/usr/bin/rsync -avz --delete --exclude-from=/etc/portage/rsync_excludes rsync://<main machine>/gentoo-portage/ . |
38 |
in addition to |
39 |
emerge -sync |
40 |
|
41 |
I just wonder if it's possible to tell emerge somewhere to not exclude |
42 |
the 'packages' subdirectory. |
43 |
|
44 |
thanks for all your comments, |
45 |
Helmut. |
46 |
|
47 |
|
48 |
-- |
49 |
Helmut Jarausch |
50 |
|
51 |
Lehrstuhl fuer Numerische Mathematik |
52 |
RWTH - Aachen University |
53 |
D 52056 Aachen, Germany |
54 |
-- |
55 |
gentoo-user@l.g.o mailing list |