Re: In what phase are file "merged"?

Ulrich Mueller <[email protected]> Wed, 23 Jun 2021 08:47:58 +0200
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
>>>>> On Wed, 23 Jun 2021, Joakim Tjernlund wrote:

> In PMS 9.2 is says:
> The call order for upgrading, downgrading or reinstalling a package is:

>     pkg_pretend (only for EAPIs listed in table 9.2), which is called outside of the normal call order process.
>     pkg_setup
>     src_unpack
>     src_prepare (only for EAPIs listed in table 9.3)
>     src_configure (only for EAPIs listed in table 9.4)
>     src_compile
>     src_test (except if RESTRICT=test)
>     src_install
>     pkg_preinst
>     pkg_prerm for the package being replaced
>     pkg_postrm for the package being replaced
>     pkg_postinst

> It does not say where in this list new files merged and old files
> unmerged, can anyone enlighten me?

It's somewhat hidden, but it's there:
https://projects.gentoo.org/pms/8/pms.html#x1-950009.1.10

   9.1.10 pkg_preinst
   ... immediately before merging the package to the live filesystem. ...

   9.1.11 pkg_postinst
   ... immediately after merging the package to the live filesystem. ...

Ulrich
signature.asc (application/pgp-signature, 507 B)
-----BEGIN PGP SIGNATURE-----

iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmDS2R4PHHVsbUBnZW50
b28ub3JnAAoJEFGIM1CIQV4ux9IH/RQBLPtLvJ6wMUDXW5fUsYFM3BsVDso+cd/g
/q5dGQi6kZ6UlUQQazvsFVRkt5cqJfj0AsY7TJ/j8XKlkC6QIe4K2uFQtBMeT6NE
+AthgrDhi2K1lg9r7klaSPRTxBv34sqkYIbwEYsmWAuqPQDN5oFJk0rBI1NRLb+D
2l/VqDAtj7B7QP3QkMIE7P4VOdJoGhx1sgFYJX1lo3FBpB/K4CzVTIOF1APDNoEy
SG6/9FI0HP8O2Nsa57XLH3azZSR9DQjFow8kG1kNZLPdKT24nOVEGcYRzr6ABO96
C/tPWw410Kwq2TDeJjsfspJRjJyS6Hs0LwBSHE+BYFbL2sAMPhI=
=+HOQ
-----END PGP SIGNATURE-----