diff options
author | Mike Pagano <mpagano@gentoo.org> | 2008-04-05 12:29:26 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2008-04-05 12:29:26 +0000 |
commit | 537d7d2fa5a9dffb9adff510a8f0961e0fb980bf (patch) | |
tree | 9a58f58d83ca18bee3e9640fbec9d379336c35c3 /eclass/kernel-2.eclass | |
parent | Correct bug numbers in ChangeLog. (diff) | |
download | gentoo-2-537d7d2fa5a9dffb9adff510a8f0961e0fb980bf.tar.gz gentoo-2-537d7d2fa5a9dffb9adff510a8f0961e0fb980bf.tar.bz2 gentoo-2-537d7d2fa5a9dffb9adff510a8f0961e0fb980bf.zip |
Change to run make defconfig as a temporary workaround for bug #215442
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index f6106177bd1a..dc8a09bd7874 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.208 2008/03/01 18:47:33 zlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.209 2008/04/05 12:29:26 mpagano Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -633,6 +633,18 @@ postinst_sources() { # Don't forget to make directory for sysfs [[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys + # fix for bug #215442 due to the change for x86 to use a + # different file name for the default configuration + if kernel_is ge 2 6 24 && [[ ! -e ${D}/usr/src/linux-${KV_FULL}/.config ]] ; then + case $(tc-arch-kernel) in + x86|x86_64) + einfo "Running make defconfig as a temporary workaround for bug #215442" + cd ${D}/usr/src/linux-${KV_FULL} + make -s defconfig ${xmakeopts} &>/dev/null 2>&1 + ;; + esac + fi + echo elog "If you are upgrading from a previous kernel, you may be interested" elog "in the following documents:" |