summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2003-12-01 19:09:35 +0000
committerTim Yamin <plasmaroo@gentoo.org>2003-12-01 19:09:35 +0000
commit07f6ea80f8d5a556dda7226bbd7ca383af1f5c55 (patch)
tree6468c503fab0ced5fef74d48eff5b5db7178febc /eclass/kernel.eclass
parentfix bad DEPEND (diff)
downloadhistorical-07f6ea80f8d5a556dda7226bbd7ca383af1f5c55.tar.gz
historical-07f6ea80f8d5a556dda7226bbd7ca383af1f5c55.tar.bz2
historical-07f6ea80f8d5a556dda7226bbd7ca383af1f5c55.zip
Added some "echo"'s to make things look better.
Diffstat (limited to 'eclass/kernel.eclass')
-rw-r--r--eclass/kernel.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass
index 04a32fcd89fb..482bd8e2e651 100644
--- a/eclass/kernel.eclass
+++ b/eclass/kernel.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.42 2003/11/20 07:52:16 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.43 2003/12/01 19:09:35 plasmaroo Exp $
#
# This eclass contains the common functions to be used by all lostlogic
# based kernel ebuilds
@@ -172,6 +172,7 @@ kernel_pkg_preinst() {
}
kernel_pkg_postinst() {
+
[ "$ETYPE" = "headers" ] && return
if [ ! -e ${ROOT}usr/src/linux ]
then
@@ -179,10 +180,13 @@ kernel_pkg_postinst() {
ln -sf linux-${KV} ${ROOT}/usr/src/linux
fi
+ echo
einfo "After installing a new kernel of any version, it is important"
einfo "that you have the appropriate /etc/modules.autoload.d/kernel-X.Y"
einfo "created (X.Y is the first 2 parts of your new kernel version)"
echo
einfo "For example, this kernel will require:"
einfo "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
+ echo
+
}