summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-20 18:06:37 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-20 18:06:37 +0000
commit5bb9687bf253632f0402b035a3ca4035296f670d (patch)
tree340871de9b80bcf93c0bda06d6d6ae0376b7b13b
parent250a80e2cc2fc8a5032a3b527dda4be0559af736 (diff)
downloadportage-5bb9687bf253632f0402b035a3ca4035296f670d.tar.gz
portage-5bb9687bf253632f0402b035a3ca4035296f670d.tar.bz2
portage-5bb9687bf253632f0402b035a3ca4035296f670d.zip
Add and "other" EBUILD_PHASE for bug #127585. Thanks to Patrick Avery <pyromancer@gmail.com> for this patch.
svn path=/main/trunk/; revision=3178
-rw-r--r--bin/isolated-functions.sh2
-rw-r--r--pym/portage_const.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 3a004a15f..40b846eb0 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -16,7 +16,7 @@ elog_base() {
return 1
;;
esac
- echo "$*" >> ${T}/logging/${EBUILD_PHASE}.${messagetype}
+ echo "$*" >> ${T}/logging/${EBUILD_PHASE:-other}.${messagetype}
return 0
}
diff --git a/pym/portage_const.py b/pym/portage_const.py
index dc523b879..9a8f03f85 100644
--- a/pym/portage_const.py
+++ b/pym/portage_const.py
@@ -43,7 +43,8 @@ COLOR_MAP_FILE = USER_CONFIG_PATH + "/color.map"
INCREMENTALS=["USE","USE_EXPAND","USE_EXPAND_HIDDEN","FEATURES","ACCEPT_KEYWORDS","ACCEPT_LICENSE","CONFIG_PROTECT_MASK","CONFIG_PROTECT","PRELINK_PATH","PRELINK_PATH_MASK"]
STICKIES=["KEYWORDS_ACCEPT","USE","CFLAGS","CXXFLAGS","MAKEOPTS","EXTRA_ECONF","EXTRA_EINSTALL","EXTRA_EMAKE"]
-EBUILD_PHASES = ["setup","unpack","compile","test","install","preinst","postinst","prerm","postrm"]
+EBUILD_PHASES = ["setup", "unpack", "compile", "test", "install",
+ "preinst", "postinst", "prerm", "postrm", "other"]
EAPI = 0