From d87e38fc828f96056f78b17b89963362c9245182 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 23 Nov 2015 17:08:09 +0100 Subject: [PATCH] [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 --- eclass/kernel-2.eclass | 10 ++++++++-- 1 file 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 } -- 2.26.2