summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2003-10-30 23:17:58 +0000
committerJoshua Kinard <kumba@gentoo.org>2003-10-30 23:17:58 +0000
commit489140d3f13226b4be83b5b2a27dda59dc3e0ac2 (patch)
treee5e311045250f2769bc1ad3b6f0156d6c149ceef /sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
parentAdded a note to pkg_postinst() and tweaked $ARCH's assignment. Closes Bugs #... (diff)
downloadhistorical-489140d3f13226b4be83b5b2a27dda59dc3e0ac2.tar.gz
historical-489140d3f13226b4be83b5b2a27dda59dc3e0ac2.tar.bz2
historical-489140d3f13226b4be83b5b2a27dda59dc3e0ac2.zip
Added a note to pkg_postinst() and tweaked $ARCH's assignment. Closes Bugs #25836 & #26647.
Diffstat (limited to 'sys-kernel/linux-headers/linux-headers-2.4.21.ebuild')
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.21.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
index 4686bf7b2bb6..b8403574202b 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
@@ -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/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild,v 1.11 2003/10/23 04:30:09 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild,v 1.12 2003/10/30 23:17:54 kumba Exp $
ETYPE="headers"
@@ -25,7 +25,7 @@ KEYWORDS="-* amd64 ~sparc ~x86 -mips"
# Figure out what architecture we are, and set ARCH appropriately
-ARCH="${ARCH:-`uname -m`}"
+ARCH="$(uname -m)"
ARCH=`echo $ARCH | sed -e s/[i].86/i386/ -e s/x86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/amd64/x86_64/`
[ "$ARCH" == "sparc" -a "$PROFILE_ARCH" == "sparc64" ] && ARCH=sparc64
@@ -114,4 +114,10 @@ pkg_preinst() {
pkg_postinst() {
kernel_pkg_postinst
+
+ einfo "Kernel headers are usually only used when recompiling glibc, as such, following the installation"
+ einfo "of newer headers, it is advised that you re-merge glibc as follows:"
+ einfo "emerge glibc"
+ einfo "Failure to do so will cause glibc to not make use of newer features present in the updated kernel"
+ einfo "headers."
}