Gentoo Archives: gentoo-user

From: "András Csányi" <sayusi.ando@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] packages/All - how to create ?
Date: Thu, 30 Oct 2008 09:32:15
Message-Id: bae7db570810300232s7b78077atab461b00ac6fb5ed@mail.gmail.com
In Reply to: Re: [gentoo-user] packages/All - how to create ? by Helmut Jarausch
1 2008/10/30 Helmut Jarausch <jarausch@××××××××××××××××.de>:
2 > On 30 Oct, András Csányi wrote:
3 >> 2008/10/30 Helmut Jarausch <jarausch@××××××××××××××××.de>:
4 >>> Hi,
5 >>>
6 >>> I have a (nearly) identical Gentoo system on several machines.
7 >>> On all machines except one, there is a directory
8 >>>
9 >>> /usr/portage/packages/All
10 >>>
11 >>> which contains symlinks to the packages in the specific
12 >>> directories. This is quite comfortable when copying the
13 >>> most recent packages.
14 >>>
15 >>> How can I set up GenToo to create and maintain this directory?
16 >>
17 >> If you set up in the /etc/make.conf file the FEATURES="buildpkg" the
18 >> portage will maintain the /usr/portage/packages/All directory
19 >> automatically.
20 >
21 > Unfortunately this is not the case here.
22 > The packages are built but no 'All' subdirectory is created nor
23 > maintained.
24
25 I don't know what is the problem in your system.
26 On my system:
27
28 Without FEATURES="buildkpg"
29
30 cd /usr/portage/packages/
31 ls -lR
32 softwarealchemy packages # ls -lR
33 .:
34 total 20
35 drwx------ 2 root root 4096 2008-10-30 10:22 All
36 drwx------ 2 root root 4096 2008-10-30 10:13 dev-lang
37 drwx------ 2 root root 4096 2008-10-22 17:14 games-simulation
38 drwx------ 2 root root 4096 2008-10-30 10:13 www-servers
39
40 ./All:
41 total 11164
42 -rw------- 1 root root 6 2008-10-30 10:22 cvs-1.12.12-r4.tbz2
43 -rw------- 1 root root 3501052 2008-10-22 17:14 openttd-0.6.3-r2.tbz2
44 -rw------- 1 root root 6247886 2008-10-30 10:13 php-5.2.6-r7.tbz2
45
46 ./dev-lang:
47 total 0
48 lrwxrwxrwx 1 root root 24 2008-10-30 10:13 php-5.2.6-r7.tbz2 ->
49 ../All/php-5.2.6-r7.tbz2
50
51
52 ./games-simulation:
53 total 0
54 lrwxrwxrwx 1 root root 28 2008-10-22 17:14 openttd-0.6.3-r2.tbz2 ->
55 ../All/openttd-0.6.3-r2.tbz2
56
57 ./www-servers:
58 total 0
59 lrwxrwxrwx 1 root root 27 2008-10-30 10:13 apache-2.2.9-r1.tbz2 ->
60 ../All/apache-2.2.9-r1.tbz2
61
62
63 I switched FEATURES="buildpkg" and emerge cvs and the result:
64
65 softwarealchemy packages # ls -lR
66 .:
67 total 20
68 drwx------ 2 root root 4096 2008-10-30 10:22 All
69 drwx------ 2 root root 4096 2008-10-30 10:13 dev-lang
70 drwxr-xr-x 2 root root 4096 2008-10-30 10:22 dev-util
71 drwx------ 2 root root 4096 2008-10-22 17:14 games-simulation
72 drwx------ 2 root root 4096 2008-10-30 10:13 www-servers
73
74 ./All:
75 total 11164
76 -rw------- 1 root root 6 2008-10-30 10:22 cvs-1.12.12-r4.tbz2
77 -rw------- 1 root root 3501052 2008-10-22 17:14 openttd-0.6.3-r2.tbz2
78 -rw------- 1 root root 6247886 2008-10-30 10:13 php-5.2.6-r7.tbz2
79
80 ./dev-lang:
81 total 0
82 lrwxrwxrwx 1 root root 24 2008-10-30 10:13 php-5.2.6-r7.tbz2 ->
83 ../All/php-5.2.6-r7.tbz2
84
85 ./dev-util:
86 total 0
87 lrwxrwxrwx 1 root root 26 2008-10-30 10:22 cvs-1.12.12-r4.tbz2 ->
88 ../All/cvs-1.12.12-r4.tbz2
89
90 ./games-simulation:
91 total 0
92 lrwxrwxrwx 1 root root 28 2008-10-22 17:14 openttd-0.6.3-r2.tbz2 ->
93 ../All/openttd-0.6.3-r2.tbz2
94
95 ./www-servers:
96 total 0
97 lrwxrwxrwx 1 root root 27 2008-10-30 10:13 apache-2.2.9-r1.tbz2 ->
98 ../All/apache-2.2.9-r1.tbz2
99
100 You can see the cvs is installed and the tarball is placed in
101 /usr/portage/packages/All. In the /usr/portage/packages/dev-util/
102 directory has a symlink to
103 /usr/portage/packages/All/cvs-1.12.12-r4.tbz2 file.
104
105 I think it is workign fine. Or we are both in big trouble :-D
106
107 Sorry my english.
108
109 András
110
111 --
112 - -
113 -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
114 -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell