Add note about bug #226505. (trunk r10685)
authorZac Medico <zmedico@gentoo.org>
Tue, 17 Jun 2008 06:02:48 +0000 (06:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 17 Jun 2008 06:02:48 +0000 (06:02 -0000)
svn path=/main/branches/2.1.2/; revision=10686

RELEASE-NOTES

index c8e6581c87342ff73e402e56ae60bcf9e677dcbb..f7b5664f274ea078180c025a4f92e1f55fa5a0dd 100644 (file)
@@ -4,6 +4,15 @@ Features/major bugfixes are listed in NEWS
 portage-2.1.5
 ==================================
 
+* The pkg_postinst phase is now called after the previous version of a
+  package has been removed. As a consequence, it is no longer possible
+  to call has_version in pkg_postinst to detect whether the current
+  install operation is an upgrade or downgrade. If this information is
+  needed during the pkg_postinst phase, do the has_version call in an
+  earlier phase (such as pkg_preinst) and store the result in a global
+  variable to be accessed by pkg_postinst when it is called. Bug #226505
+  tracks all issues related to this phase execution order change.
+
 * Blockers are now resolved automatically in many more cases
   than before.  When it's safe, blocked packages are uninstalled
   automatically so that users are no longer inconvenienced with the