summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-07-21 13:55:11 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-07-21 13:55:11 +0000
commit9c6bb8d9d61f896fe456cecf0c1239334777be7b (patch)
tree459b6490664eb7b3dd5ede5352edec5be10b103d /eclass
parentStable on amd64. (diff)
downloadhistorical-9c6bb8d9d61f896fe456cecf0c1239334777be7b.tar.gz
historical-9c6bb8d9d61f896fe456cecf0c1239334777be7b.tar.bz2
historical-9c6bb8d9d61f896fe456cecf0c1239334777be7b.zip
ading support for deprecated devfs in 2.6.13
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 2d97603cefea..0279861588a6 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.137 2005/07/21 01:55:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.138 2005/07/21 13:55:11 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -260,6 +260,9 @@ if [[ ${ETYPE} == sources ]]; then
>=sys-devel/binutils-2.11.90.0.31 )
doc? ( app-text/docbook-sgml-utils
app-text/xmlto )"
+ kernel_is ge 2 6 13 && \
+ DEPEND="${DEPEND}
+ sys-fs/udev"
RDEPEND="${DEPEND}
!build? ( >=sys-libs/ncurses-5.2
sys-devel/make )"
@@ -564,6 +567,11 @@ postinst_sources() {
einfo "in the following documents:"
einfo " - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml"
kernel_is_2_6 && einfo " - 2.4 to 2.6 migration guide: http://www.gentoo.org/doc/en/migration-to-2.6.xml"
+ if kernel_is ge 2 6 13; then
+ ewarn "As of 2.6.13 the support for devfs has been removed."
+ ewarn "You will be required to either manage a static /dev"
+ ewarn "or to ensure that udev is starting on boot."
+ fi
echo
# if K_EXTRAEINFO is set then lets display it now