1 |
Riyad Kalla wrote: |
2 |
> How do I combat this? Say if I'm interested in a rock-solid snapshot |
3 |
> of Gentoo without going through an ungodly amount of administrative |
4 |
> setup and mirroring of the snapshot etc.? I realize that rock-solid |
5 |
> is relative sometimes, but I'm more asking along the lines of say gcc |
6 |
> gets update from 3.2 to 3.4 (hypothetically), and everyone knows that |
7 |
> 3.2 is more stable, and there are some growing pains going on with |
8 |
> 3.4, BUT 3.4 is the current ebuild... That sort of deal, so when I |
9 |
> install gentoo on a new work station, I want to keep the versions of |
10 |
> Gentoo static across all machines, or atleast in synch with |
11 |
> eachother. |
12 |
|
13 |
Use profiles for this. The process would go something like this: |
14 |
|
15 |
1. Install Gentoo on your dev box |
16 |
2. Tweak until the stability is where you want it (i.e., find stable |
17 |
versions of software, make patches -- and submit them to bugzilla, and |
18 |
place any outside ebuilds in /usr/local/portage or whatever and set |
19 |
PORTAGE_OVERLAY -- or whatever the var is) |
20 |
3. Once you have the packages from portage like you want them, create a |
21 |
new profile: |
22 |
# cd /usr/portage/profiles |
23 |
# cp -r your_current_profile my_stable_profile |
24 |
# mv my_stable_profile /usr/local/portage/profiles |
25 |
# rm /etc/make.profile |
26 |
# ln -s /usr/local/portage/profiles/my_stable_profile /etc/make.profile |
27 |
# cd /usr/local/portage/profiles/my_stable_profile |
28 |
# echo "all_my_package-revisions" > packages |
29 |
|
30 |
The packages file is well commented, but basically you can use it to |
31 |
"pin" the versions of all your packages (or just the ones that matter). |
32 |
4. Now you should be able to use that profile directory as |
33 |
/etc/make.profile on all your systems. |
34 |
|
35 |
That is a rough sketch of one way to do it that is probably the most |
36 |
"Gentoo-recommended." Another way to go about it would be to pin |
37 |
versions in the /var/cache/edb/world. I don't actually know how to do |
38 |
that, though. |
39 |
|
40 |
-- |
41 |
Chad Huneycutt |
42 |
chadh@g.o |
43 |
|
44 |
|
45 |
-- |
46 |
gentoo-dev@g.o mailing list |