summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@ciaranm.org>2007-04-12 19:08:24 +0000
committerCiaran McCreesh <ciaranm@ciaranm.org>2007-04-12 19:08:24 +0000
commit2d3de7abf5484c616e9bc3fe398669d9935dd62c (patch)
tree3525ee949ba37de094df4cbe1808c7e8c2eafe6a /ebuild-functions.tex
parentatom -> specification throughout. Gentoo#174322 (diff)
downloadpms-2d3de7abf5484c616e9bc3fe398669d9935dd62c.tar.gz
pms-2d3de7abf5484c616e9bc3fe398669d9935dd62c.tar.bz2
pms-2d3de7abf5484c616e9bc3fe398669d9935dd62c.zip
Fix call order. Gentoo#174328
git-svn-id: http://svn.repogirl.net/pms/trunk@160 a05a4626-2124-0410-b604-e6c5abf33261
Diffstat (limited to 'ebuild-functions.tex')
-rw-r--r--ebuild-functions.tex16
1 files changed, 15 insertions, 1 deletions
diff --git a/ebuild-functions.tex b/ebuild-functions.tex
index 959898a..9139bd9 100644
--- a/ebuild-functions.tex
+++ b/ebuild-functions.tex
@@ -143,7 +143,7 @@ The call order for uninstalling a package is:
\item \t{pkg\_postrm}
\end{bulletlist}
-The call order for upgrading, downgrading or reinstalling a package is:
+The call order for reinstalling a package is:
\begin{bulletlist}
\item \t{pkg\_setup}
@@ -157,6 +157,20 @@ The call order for upgrading, downgrading or reinstalling a package is:
\item \t{pkg\_postinst}
\end{bulletlist}
+The call order for upgrading or downgrading a package is:
+
+\begin{bulletlist}
+\item \t{pkg\_setup}
+\item \t{src\_unpack}
+\item \t{src\_compile}
+\item \t{src\_test} (except if \t{RESTRICT=test})
+\item \t{src\_install}
+\item \t{pkg\_preinst}
+\item \t{pkg\_postinst}
+\item \t{pkg\_prerm} for the package being replaced
+\item \t{pkg\_postrm} for the package being replaced
+\end{bulletlist}
+
The \t{pkg\_config} and \t{pkg\_nofetch} functions are not called in a normal sequence.
For installing binary packages, the \t{src} phases are not called.