summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-04-20 08:42:30 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-04-20 08:42:30 +0000
commit9ee6c8b794eafb288e9b03c1f284f045d70037a7 (patch)
tree87a804cf118c58a86d85257ec57df02d59ac84d8 /eclass
parentCrediting Dustin Parr <parr@cs.utk.edu>. (Manifest recommit) (diff)
downloadgentoo-2-9ee6c8b794eafb288e9b03c1f284f045d70037a7.tar.gz
gentoo-2-9ee6c8b794eafb288e9b03c1f284f045d70037a7.tar.bz2
gentoo-2-9ee6c8b794eafb288e9b03c1f284f045d70037a7.zip
fix up kernel-2 to not require config-kernel again
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass10
1 files changed, 3 insertions, 7 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 126d21537644..2b49c9da3fc0 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.33 2004/04/16 18:14:00 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.34 2004/04/20 08:42:30 johnm Exp $
# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel
# with back-compatibility for 2.4
@@ -92,8 +92,7 @@ if [ "${ETYPE}" == "sources" ]
then
#console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
DEPEND="!build? ( sys-apps/sed
- >=sys-devel/binutils-2.11.90.0.31 )
- >=sys-kernel/config-kernel-0.3.3"
+ >=sys-devel/binutils-2.11.90.0.31 )"
RDEPEND="${DEPEND}
!build? ( >=sys-libs/ncurses-5.2
@@ -245,10 +244,7 @@ preinst_headers() {
# pkg_postinst functions
#==============================================================
postinst_sources() {
- if [ -x "${ROOT}/usr/bin/config-kernel" ]
- then
- ${ROOT}/usr/bin/config-kernel --eclass-symlink ${KV}
- elif [ ! -h ${ROOT}usr/src/linux ]
+ if [ ! -h ${ROOT}usr/src/linux ]
then
ln -sf ${ROOT}usr/src/linux-${KV} ${ROOT}usr/src/linux
fi