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 | 05248b681ac82ef919a3e4a560257945792d001c (patch) | |
tree | dd34a6cbbfa8f56ab41635221f684fc09c0e8fa3 /eclass | |
parent | Keyworded on alpha, bug #219468 (diff) | |
download | gentoo-2-05248b681ac82ef919a3e4a560257945792d001c.tar.gz gentoo-2-05248b681ac82ef919a3e4a560257945792d001c.tar.bz2 gentoo-2-05248b681ac82ef919a3e4a560257945792d001c.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 |