diff options
author | Mike Pagano <mpagano@gentoo.org> | 2009-08-28 16:28:13 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2009-08-28 16:28:13 +0000 |
commit | 151bf0148d01e373c774dd5ca8c0785fd60afd45 (patch) | |
tree | cd829b49f807652c6af62fa4fe82eef094e2f239 /eclass | |
parent | Fix bug #269318, if we are logged in root on the first tab and if we try to o... (diff) | |
download | gentoo-2-151bf0148d01e373c774dd5ca8c0785fd60afd45.tar.gz gentoo-2-151bf0148d01e373c774dd5ca8c0785fd60afd45.tar.bz2 gentoo-2-151bf0148d01e373c774dd5ca8c0785fd60afd45.zip |
Removing fbcondecor for sparc/sparc64 as it currently prevents sparc/sparc64 from booting. bug #272676.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index e8bef1e1ef51..f92acc540052 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.218 2009/02/23 05:51:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.219 2009/08/28 16:28:13 mpagano Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -819,6 +819,19 @@ unipatch() { KPATCH_DIR="${KPATCH_DIR} ${i}" done + # do not apply fbcondecor patch to sparc/sparc64 as it breaks boot + # bug #272676 + if [[ "$(tc-arch)" = "sparc" || "$(tc-arch)" = "sparc64" ]]; then + if [[ ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} > 2.6.28 ]]; then + UNIPATCH_DROP="${UNIPATCH_DROP} *_fbcondecor-0.9.6.patch" + echo + ewarn "fbcondecor currently prevents sparc/sparc64 from booting" + ewarn "for kernel versions >= 2.6.29. Removing fbcondecor patch." + ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=272676 for details" + echo + fi + fi + #so now lets get rid of the patchno's we want to exclude UNIPATCH_DROP="${UNIPATCH_EXCLUDE} ${UNIPATCH_DROP}" for i in ${UNIPATCH_DROP}; do |