From 6486c0957cb54adf8ec45fb07d62750b77680632 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 8 Mar 2012 15:55:39 -0800 Subject: Disable 'illegally inherited' check for nofetch. It's disabled for nofetch, since that can be called by repoman and that triggers bug #407449 due to repoman not exporting non-essential variables such as INHERITED. --- bin/ebuild.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f8e71f5f2..74c4f6941 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -230,11 +230,15 @@ inherit() { unset $__export_funcs_var if [ "${EBUILD_PHASE}" != "depend" ] && \ + [ "${EBUILD_PHASE}" != "nofetch" ] && \ [[ ${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. + # in comparison the the eclasses from the portage tree. It's + # disabled for nofetch, since that can be called by repoman and + # that triggers bug #407449 due to repoman not exporting + # non-essential variables such as INHERITED. if ! has $ECLASS $INHERITED $__INHERITED_QA_CACHE ; then eqawarn "QA Notice: ECLASS '$ECLASS' inherited illegally in $CATEGORY/$PF $EBUILD_PHASE" fi -- cgit v1.2.3-1-g7c22