1 |
--- |
2 |
(following the remaster of install_qa_check()) |
3 |
--- |
4 |
bin/misc-functions.sh | 13 +++++++++++++ |
5 |
1 file changed, 13 insertions(+) |
6 |
|
7 |
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh |
8 |
index d701ba6..bd43360 100755 |
9 |
--- a/bin/misc-functions.sh |
10 |
+++ b/bin/misc-functions.sh |
11 |
@@ -182,6 +182,19 @@ install_qa_check() { |
12 |
) |
13 |
done |
14 |
|
15 |
+ # Run QA checks from repositories |
16 |
+ # (yes, PORTAGE_ECLASS_LOCATIONS contains repo paths...) |
17 |
+ local repo_location |
18 |
+ for repo_location in "${PORTAGE_ECLASS_LOCATIONS[@]}"; do |
19 |
+ for f in "${repo_location}"/metadata/install-qa-check.d/*; do |
20 |
+ if [[ -f ${f} ]]; then |
21 |
+ ( |
22 |
+ source "${f}" || eerror "Post-install QA check ${f##*/} failed to run" |
23 |
+ ) |
24 |
+ fi |
25 |
+ done |
26 |
+ done |
27 |
+ |
28 |
export STRIP_MASK |
29 |
prepall |
30 |
___eapi_has_docompress && prepcompress |
31 |
-- |
32 |
2.1.0 |