From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0560E1382C5 for ; Wed, 23 Jun 2021 06:48:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44DA8E0855; Wed, 23 Jun 2021 06:48:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8FFCE0855 for ; Wed, 23 Jun 2021 06:48:09 +0000 (UTC) From: Ulrich Mueller To: Joakim Tjernlund Cc: "gentoo-portage-dev@lists.gentoo.org" Subject: Re: [gentoo-portage-dev] In what phase are file "merged"? In-Reply-To: <0d4c69c960e924fc55e8eed1d5941920eae7556e.camel@infinera.com> (Joakim Tjernlund's message of "Tue, 22 Jun 2021 23:11:02 +0000") References: <0d4c69c960e924fc55e8eed1d5941920eae7556e.camel@infinera.com> Date: Wed, 23 Jun 2021 08:47:58 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 0ce375bc-59a9-4183-b275-d4e9efe900db X-Archives-Hash: 4dbbc7778043e3ef2ec8960b5496c074 --=-=-= Content-Type: text/plain >>>>> 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmDS2R4PHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4ux9IH/RQBLPtLvJ6wMUDXW5fUsYFM3BsVDso+cd/g /q5dGQi6kZ6UlUQQazvsFVRkt5cqJfj0AsY7TJ/j8XKlkC6QIe4K2uFQtBMeT6NE +AthgrDhi2K1lg9r7klaSPRTxBv34sqkYIbwEYsmWAuqPQDN5oFJk0rBI1NRLb+D 2l/VqDAtj7B7QP3QkMIE7P4VOdJoGhx1sgFYJX1lo3FBpB/K4CzVTIOF1APDNoEy SG6/9FI0HP8O2Nsa57XLH3azZSR9DQjFow8kG1kNZLPdKT24nOVEGcYRzr6ABO96 C/tPWw410Kwq2TDeJjsfspJRjJyS6Hs0LwBSHE+BYFbL2sAMPhI= =+HOQ -----END PGP SIGNATURE----- --=-=-=--