diff options
author | Mike Pagano <mpagano@gentoo.org> | 2008-04-28 19:22:44 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2008-04-28 19:22:44 +0000 |
commit | 5f218f53a7e3fc6d05bbedd689633d9c4942d8bc (patch) | |
tree | 1ffa773c631579c63231b438169ac2d9f95a405d /eclass | |
parent | Version bumped. (diff) | |
download | historical-5f218f53a7e3fc6d05bbedd689633d9c4942d8bc.tar.gz historical-5f218f53a7e3fc6d05bbedd689633d9c4942d8bc.tar.bz2 historical-5f218f53a7e3fc6d05bbedd689633d9c4942d8bc.zip |
Fix for make defconfig. Bug #215442
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 53d467deb791..bd11066290e1 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.210 2008/04/12 22:45:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.211 2008/04/28 19:22:44 mpagano Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -635,11 +635,11 @@ postinst_sources() { # 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 + if kernel_is ge 2 6 24 && [[ ! -e ${ROOT}/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} + cd ${ROOT}/usr/src/linux-${KV_FULL} make -s defconfig ${xmakeopts} &>/dev/null 2>&1 ;; esac |