summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-23 17:08:09 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-23 17:09:26 +0100
commitd87e38fc828f96056f78b17b89963362c9245182 (patch)
tree96a3650f874b59ff032c15573e4561a6b519581d /eclass/kernel-2.eclass
parentMerge remote-tracking branch 'github/pr/386'. (diff)
downloadgentoo-d87e38fc828f96056f78b17b89963362c9245182.tar.gz
gentoo-d87e38fc828f96056f78b17b89963362c9245182.tar.bz2
gentoo-d87e38fc828f96056f78b17b89963362c9245182.zip
[QA] kernel-2.eclass: Revert "use experimental in global scope"
Revert the global 'use' call fix as it causes build failures for users. Bug: https://bugs.gentoo.org/show_bug.cgi?id=566600
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index c6223238e7f6..1a508f119aaf 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -160,9 +160,15 @@ handle_genpatches() {
if [[ "${i}" == "experimental" && -z ${K_EXP_GENPATCHES_PULL} && -z ${K_EXP_GENPATCHES_NOUSE} ]] ; then
use_cond_start="experimental? ( "
use_cond_end=" )"
+
+ if use experimental ; then
+ UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
+ debug-print "genpatches tarball: $tarball"
+ fi
+ else
+ UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
+ debug-print "genpatches tarball: $tarball"
fi
- UNIPATCH_LIST_GENPATCHES+=" ${DISTDIR}/${tarball}"
- debug-print "genpatches tarball: $tarball"
GENPATCHES_URI+=" ${use_cond_start}mirror://gentoo/${tarball}${use_cond_end}"
done
}