initial import
[patches.git] / portage-ignore-kernel-modules.patch
1 Index: misc-functions.sh
2 ===================================================================
3 --- bin/misc-functions.sh (revision 7590)
4 +++ bin/misc-functions.sh (working copy)
5 @@ -94,7 +94,7 @@ install_qa_check() {
6 qa_var="QA_TEXTRELS_${ARCH/-/_}"
7 [[ -n ${!qa_var} ]] && QA_TEXTRELS=${!qa_var}
8 [[ -n ${QA_STRICT_TEXTRELS} ]] && QA_TEXTRELS=""
9 - export QA_TEXTRELS
10 + export QA_TEXTRELS="${QA_TEXTRELS} /lib*/modules/*.ko"
11 f=$(scanelf -qyRF '%t %p' "${D}" | grep -v 'usr/lib/debug/')
12 if [[ -n ${f} ]] ; then
13 scanelf -qyRF '%T %p' "${PORTAGE_BUILDDIR}"/ &> "${T}"/scanelf-textrel.log
14 @@ -134,7 +134,8 @@ install_qa_check() {
15 qa_var="QA_WX_LOAD_${ARCH/-/_}"
16 [[ -n ${!qa_var} ]] && QA_WX_LOAD=${!qa_var}
17 [[ -n ${QA_STRICT_WX_LOAD} ]] && QA_WX_LOAD=""
18 - export QA_EXECSTACK QA_WX_LOAD
19 + export QA_EXECSTACK="${QA_EXECSTACK} /lib*/modules/*.ko"
20 + export QA_WX_LOAD="${QA_WX_LOAD} /lib*/modules/*.ko"
21 f=$(scanelf -qyRF '%e %p' "${D}" | grep -v 'usr/lib/debug/')
22 ;;
23 esac