From: Zac Medico Date: Sat, 9 Jun 2007 04:46:32 +0000 (-0000) Subject: Skip bogus '$ECLASS inherited illegally' messages when installing from a binary packa... X-Git-Tag: v2.1.2.10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fde31808d9bb600102d57f42883b73f21e4b0392;p=portage.git Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (trunk r6775) svn path=/main/branches/2.1.2/; revision=6776 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 6940c9df4..5b9abd7a6 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1218,7 +1218,8 @@ inherit() { export ECLASS="$1" if [ "${EBUILD_PHASE}" != "depend" ] && \ - [[ ${EBUILD_PHASE} != *rm ]]; then + [[ ${EBUILD_PHASE} != *rm ]] && \ + [[ ${EMERGE_FROM} != "binary" ]] ; 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.