diff options
author | Christian Birchinger <joker@gentoo.org> | 2003-03-25 15:16:27 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2003-03-25 15:16:27 +0000 |
commit | 98cab7738f70830ccfacc3a4ca3b5218e5334e01 (patch) | |
tree | e6fc683a7ec49ecc555fdf69fbeb60a86dc075b5 /sys-kernel/sparc-sources | |
parent | touchup (diff) | |
download | gentoo-2-98cab7738f70830ccfacc3a4ca3b5218e5334e01.tar.gz gentoo-2-98cab7738f70830ccfacc3a4ca3b5218e5334e01.tar.bz2 gentoo-2-98cab7738f70830ccfacc3a4ca3b5218e5334e01.zip |
Added an optional HME patch for Ultra1 machines
Diffstat (limited to 'sys-kernel/sparc-sources')
-rw-r--r-- | sys-kernel/sparc-sources/ChangeLog | 6 | ||||
-rw-r--r-- | sys-kernel/sparc-sources/sparc-sources-2.4.20-r6.ebuild | 19 |
2 files changed, 23 insertions, 2 deletions
diff --git a/sys-kernel/sparc-sources/ChangeLog b/sys-kernel/sparc-sources/ChangeLog index 8999e7c2d12e..19c14cb697da 100644 --- a/sys-kernel/sparc-sources/ChangeLog +++ b/sys-kernel/sparc-sources/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for sys-kernel/sparc-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.18 2003/03/20 14:56:11 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.19 2003/03/25 15:16:27 joker Exp $ *sparc-sources-2.4.20-r6 (19 Mar 2003) + 25 Mar 2003; Christian Birchinger <joker@gentoo.org> + sparc-sources-2.4.20-r6.ebuild: + Added an optional HME patch for Ultra1 machines + 20 Mar 2003; Christian Birchinger <joker@gentoo.org> sparc-sources-2.4.20-r6.ebuild: Changed KEYWORD from ~sparc to sparc diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.20-r6.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.20-r6.ebuild index e232af98ffd2..a6290302df6a 100644 --- a/sys-kernel/sparc-sources/sparc-sources-2.4.20-r6.ebuild +++ b/sys-kernel/sparc-sources/sparc-sources-2.4.20-r6.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/sparc-sources/sparc-sources-2.4.20-r6.ebuild,v 1.2 2003/03/20 14:56:11 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/sparc-sources-2.4.20-r6.ebuild,v 1.3 2003/03/25 15:16:27 joker Exp $ IUSE="build" @@ -43,4 +43,21 @@ src_unpack() { # failures, if they aren't there that is a good thing! kernel_src_unpack + + # Patch the HME driver only on Ultra1 machines. + [ -n "${U1_HME_FIX}" ] && epatch ${FILESDIR}/U1-hme-lockup.patch +} + +pkg_postinst() { + kernel_pkg_postinst + + # Display SUN Ultra 1 HME warning if it can be detected or if the machinetype is unknown. + if [ ! -r "/proc/openprom/name" -o "`cat /proc/openprom/name 2>/dev/null`" = "'SUNW,Ultra-1'" ]; then + einfo + einfo "For users with an Enterprise model Ultra 1 using the HME network interface," + einfo "please emerge the kernel using the following command:" + einfo + einfo "U1_HME_FIX=y emerge sparc-sources" + einfo + fi } |