diff options
author | Christian Birchinger <joker@gentoo.org> | 2003-06-22 21:55:11 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2003-06-22 21:55:11 +0000 |
commit | d0b10f997096f0e0f9e8313be8a0de32483dd435 (patch) | |
tree | ace20b9fa82ff8957bbefe07703e75859a71f7e0 /sys-kernel/sparc-sources | |
parent | Changed ~sparc & ~mips to sparc & mips (diff) | |
download | historical-d0b10f997096f0e0f9e8313be8a0de32483dd435.tar.gz historical-d0b10f997096f0e0f9e8313be8a0de32483dd435.tar.bz2 historical-d0b10f997096f0e0f9e8313be8a0de32483dd435.zip |
Added new release which fixes smp booting on sparc32
Diffstat (limited to 'sys-kernel/sparc-sources')
-rw-r--r-- | sys-kernel/sparc-sources/ChangeLog | 8 | ||||
-rw-r--r-- | sys-kernel/sparc-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.21-r1 | 2 | ||||
-rw-r--r-- | sys-kernel/sparc-sources/sparc-sources-2.4.21-r1.ebuild | 59 |
4 files changed, 71 insertions, 2 deletions
diff --git a/sys-kernel/sparc-sources/ChangeLog b/sys-kernel/sparc-sources/ChangeLog index 1452e3399991..0f9a3bbae54c 100644 --- a/sys-kernel/sparc-sources/ChangeLog +++ b/sys-kernel/sparc-sources/ChangeLog @@ -1,6 +1,12 @@ # 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.25 2003/06/22 19:32:07 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.26 2003/06/22 21:55:02 joker Exp $ + +*sparc-sources-2.4.21-r1 (22 Jun 2003) + + 22 Jun 2003; Christian Birchinger <joker@gentoo.org> + sparc-sources-2.4.21-r1.ebuild: + Added new release which fixes smp booting on sparc32 22 Jun 2003; Christian Birchinger <joker@gentoo.org> sparc-sources-2.4.21.ebuild: diff --git a/sys-kernel/sparc-sources/Manifest b/sys-kernel/sparc-sources/Manifest index 5d53f94b7321..2c5b610297ec 100644 --- a/sys-kernel/sparc-sources/Manifest +++ b/sys-kernel/sparc-sources/Manifest @@ -1,5 +1,6 @@ -MD5 f776aeeaf5672ea654311faa25a651dc ChangeLog 4732 +MD5 cab7d0ff33190f5f37488e232c1673c2 ChangeLog 4917 MD5 b301ca9ef152c622be6b90d0042667fc sparc-sources-2.2.21_pre3.ebuild 5119 +MD5 5f076c528d13a2b1831442ec34d16d82 sparc-sources-2.4.21-r1.ebuild 2031 MD5 0ba0dfcfaf13605128778bd9430c5714 sparc-sources-2.4.21.ebuild 2034 MD5 7fcb8fc747dadd893373e29a97146668 sparc-sources-2.4.20-r8.ebuild 2195 MD5 167e790d7861e0ed3a31577b31a92968 files/digest-sparc-sources-2.2.21_pre3 281 @@ -7,6 +8,7 @@ MD5 25553b42e5daa2638570a8b019a35069 files/generate-asm-sparc 1656 MD5 707798c011eaadc59870bfbe99d10c2b files/sparc-asm_offsets.h 23000 MD5 1bdf35eda3b09561cc6de12735d5c968 files/sparc64-asm_offsets.h 35287 MD5 935f3a9c9a5209ad79a0cdbf9ca4b610 files/U1-hme-lockup.patch 263 +MD5 78fb563990b579b7408f77a65ca176a0 files/digest-sparc-sources-2.4.21-r1 143 MD5 256442a083cf945a5aa391587d293cdf files/digest-sparc-sources-2.4.21 140 MD5 5cc2d0aaf480b0f39d42e04133d4138a files/digest-sparc-sources-2.4.20-r8 143 MD5 89fb52efc9018f970ceeeaadac9c0f9e files/2.4.19/sparc64-asm_offsets.h 35521 diff --git a/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.21-r1 b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.21-r1 new file mode 100644 index 000000000000..ba100dcc2173 --- /dev/null +++ b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.21-r1 @@ -0,0 +1,2 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 d023e087bd6ebbbf3203969048431419 patches-2.4.21-sparc-r1.tar.bz2 140324 diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.21-r1.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.21-r1.ebuild new file mode 100644 index 000000000000..0b6a7e251563 --- /dev/null +++ b/sys-kernel/sparc-sources/sparc-sources-2.4.21-r1.ebuild @@ -0,0 +1,59 @@ +# 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.21-r1.ebuild,v 1.1 2003/06/22 21:55:02 joker Exp $ + +IUSE="build ultra1" + +# OKV=original kernel version, KV=patched kernel version. They can be the +# same. +KV=${PV} + +# Kernel ebuilds using the kernel.eclass can remove any patch that you +# do not want to apply by simply setting the KERNEL_EXCLUDE shell +# variable to the string you want to exclude (for instance +# KERNEL_EXCLUDE="grsecurity" would not patch any patches whose names match +# *grsecurity*). Kernels are only tested in the default configuration, but +# this may be useful if you know that a particular patch is causing a +# conflict with a patch you personally want to apply, or some other +# similar situation. + +ETYPE="sources" + +inherit kernel || die + +# Documentation on the patches contained in this kernel will be installed +# to /usr/share/doc/sparc-sources-${PV}/patches.txt.gz + +DESCRIPTION="Full sources for the Gentoo Sparc Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + mirror://gentoo/patches-${KV}.tar.bz2" +KEYWORDS="~x86 -ppc ~sparc" +SLOT="${KV}" + +src_unpack() { + unpack ${A} + mv linux-${OKV} linux-${KV} || die + + cd ${KV} + # Kill patches we aren't suppposed to use, don't worry about + # failures, if they aren't there that is a good thing! + + kernel_src_unpack + + # Patch the HME driver only on Ultra1 machines. + use ultra1 && 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 "USE=ultra1 emerge sparc-sources" + einfo + fi +} |