diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-03-08 15:55:39 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-03-08 15:55:39 -0800 |
commit | 6486c0957cb54adf8ec45fb07d62750b77680632 (patch) | |
tree | 255e5a1edbff070a8682116b78878a2c5713965a | |
parent | aec36182da4f1f0e754cc53ab9f8dd08c0ff9a28 (diff) | |
download | portage-6486c0957cb54adf8ec45fb07d62750b77680632.tar.gz portage-6486c0957cb54adf8ec45fb07d62750b77680632.tar.bz2 portage-6486c0957cb54adf8ec45fb07d62750b77680632.zip |
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.
-rwxr-xr-x | bin/ebuild.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |