summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-15 06:40:33 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-15 06:40:33 +0000
commit85968cc1fb81331950e7e98ae6b72e2eb36bb0ae (patch)
tree5d380b864209a3daccc27ccb8024375deca5860d /bin/ebuild.sh
parentFix display of nomerge nodes and --tree for ROOT!=/. (diff)
downloadportage-multirepo-85968cc1fb81331950e7e98ae6b72e2eb36bb0ae.tar.gz
portage-multirepo-85968cc1fb81331950e7e98ae6b72e2eb36bb0ae.tar.bz2
portage-multirepo-85968cc1fb81331950e7e98ae6b72e2eb36bb0ae.zip
Disable the ECLASS inherited illegally message during *rm phases since it gives false alarms (bug #150442).
svn path=/main/trunk/; revision=4700
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 48a457a8..c61feea5 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1168,7 +1168,13 @@ inherit() {
PECLASS="$ECLASS"
export ECLASS="$1"
- if [ "$EBUILD_PHASE" != "depend" ]; then
+ if [ "${EBUILD_PHASE}" != "depend" ] && \
+ [ ${EBUILD_PHASE} != "cleanrm" ] && \
+ [ ${EBUILD_PHASE} != "prerm" ] && \
+ [ ${EBUILD_PHASE} != "postrm" ]; then
+ # This is disabled in the *rm phases because they frequently give
+ # false alarms due to INHERITED in /var/db/pkg being outdated
+ # in comparison the the eclasses from the portage tree.
if ! hasq $ECLASS $INHERITED; then
vecho
vecho "QA Notice: ECLASS '$ECLASS' inherited illegally in $CATEGORY/$PF" >&2