1 |
>>>>> On Wed, 23 Jun 2021, Joakim Tjernlund wrote: |
2 |
|
3 |
> In PMS 9.2 is says: |
4 |
> The call order for upgrading, downgrading or reinstalling a package is: |
5 |
|
6 |
> pkg_pretend (only for EAPIs listed in table 9.2), which is called outside of the normal call order process. |
7 |
> pkg_setup |
8 |
> src_unpack |
9 |
> src_prepare (only for EAPIs listed in table 9.3) |
10 |
> src_configure (only for EAPIs listed in table 9.4) |
11 |
> src_compile |
12 |
> src_test (except if RESTRICT=test) |
13 |
> src_install |
14 |
> pkg_preinst |
15 |
> pkg_prerm for the package being replaced |
16 |
> pkg_postrm for the package being replaced |
17 |
> pkg_postinst |
18 |
|
19 |
> It does not say where in this list new files merged and old files |
20 |
> unmerged, can anyone enlighten me? |
21 |
|
22 |
It's somewhat hidden, but it's there: |
23 |
https://projects.gentoo.org/pms/8/pms.html#x1-950009.1.10 |
24 |
|
25 |
9.1.10 pkg_preinst |
26 |
... immediately before merging the package to the live filesystem. ... |
27 |
|
28 |
9.1.11 pkg_postinst |
29 |
... immediately after merging the package to the live filesystem. ... |
30 |
|
31 |
Ulrich |