1 |
On Tue, 2005-12-13 at 20:49 -0600, Mikey wrote: |
2 |
> Are there any hooks to allow housecleaning tasks after stage processing |
3 |
> completes? Some way to provide for script in the spec file. |
4 |
|
5 |
Nope, nor will there ever be. |
6 |
|
7 |
At stage in Gentoo is a sacred thing. It is created a certain way and |
8 |
that should not be changed. If you're wanting to make changes, then you |
9 |
are looking for a stage4. |
10 |
|
11 |
> For example, I would like to be able to do things like prune python 2.3 |
12 |
> after it is upgraded to 2.4 during a stage2 or stage3 build... |
13 |
|
14 |
Using a seed with only python 2.4 is the proper solution. If you do not |
15 |
have such a seed, build a stage4 tarball with only python in it with |
16 |
your new snapshot. You can use a 2005.1-r1 stage3 as your seed. Have |
17 |
the stage4 run python-updater in your fsscript. You can then use this |
18 |
updated stage4 as your seed for building stage1. |
19 |
|
20 |
-- |
21 |
Chris Gianelloni |
22 |
Release Engineering - Strategic Lead |
23 |
x86 Architecture Team |
24 |
Games - Developer |
25 |
Gentoo Linux |