commit: a45a9a05f80e157f6d4af8904a4c72e465e9a9d9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 11 16:56:18 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Sep 26 01:22:13 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a45a9a05
Run install-qa-check.d scripts from repositories
---
(following the remaster of install_qa_check())
---
bin/misc-functions.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index d701ba6..bd43360 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -182,6 +182,19 @@ install_qa_check() {
)
done
+ # Run QA checks from repositories
+ # (yes, PORTAGE_ECLASS_LOCATIONS contains repo paths...)
+ local repo_location
+ for repo_location in "${PORTAGE_ECLASS_LOCATIONS[@]}"; do
+ for f in "${repo_location}"/metadata/install-qa-check.d/*; do
+ if [[ -f ${f} ]]; then
+ (
+ source "${f}" || eerror "Post-install
QA check ${f##*/} failed to run"
+ )
+ fi
+ done
+ done
+
export STRIP_MASK
prepall
___eapi_has_docompress && prepcompress