diff options
author | Tom Gall <tgall@gentoo.org> | 2004-06-04 04:42:02 +0000 |
---|---|---|
committer | Tom Gall <tgall@gentoo.org> | 2004-06-04 04:42:02 +0000 |
commit | ca1c737fb6f7676db2344bc28759bfe16286e041 (patch) | |
tree | d77791d4aec49666ae45400b571cb95c59d98ece /sys-kernel | |
parent | Stable on mips. (diff) | |
download | historical-ca1c737fb6f7676db2344bc28759bfe16286e041.tar.gz historical-ca1c737fb6f7676db2344bc28759bfe16286e041.tar.bz2 historical-ca1c737fb6f7676db2344bc28759bfe16286e041.zip |
2.6.7-rc2 for ~ppc64
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/ppc64-sources/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/ppc64-sources/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/ppc64-sources/files/digest-ppc64-sources-2.6.7 | 2 | ||||
-rw-r--r-- | sys-kernel/ppc64-sources/ppc64-sources-2.6.7.ebuild | 98 |
4 files changed, 110 insertions, 3 deletions
diff --git a/sys-kernel/ppc64-sources/ChangeLog b/sys-kernel/ppc64-sources/ChangeLog index 063caef87c70..08b3d35f7658 100644 --- a/sys-kernel/ppc64-sources/ChangeLog +++ b/sys-kernel/ppc64-sources/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/ppc64-sources # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc64-sources/ChangeLog,v 1.4 2004/05/19 02:53:28 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc64-sources/ChangeLog,v 1.5 2004/06/04 04:42:02 tgall Exp $ + +*ppc64-sources-2.6.7.ebuild (03 Jun 2004) + + 03 Jun 2004; Tom Gall <tgall@gentoo.org> ppc64-sources-2.6.7.ebuild: + new version based on 2.6.7-rc2 k.o *ppc64-sources-2.6.6 (18 May 2004) diff --git a/sys-kernel/ppc64-sources/Manifest b/sys-kernel/ppc64-sources/Manifest index 12cd3e129b83..a4665b443d9a 100644 --- a/sys-kernel/ppc64-sources/Manifest +++ b/sys-kernel/ppc64-sources/Manifest @@ -1,7 +1,9 @@ -MD5 53f408231bde7c115520a94a060b5efc ChangeLog 722 +MD5 0638e2334d34f2629a657a023de51e7c ChangeLog 874 MD5 28d3906c49ca260f1bc0b39170d02ed0 metadata.xml 405 MD5 0c75fc39d6ac07bb4df3d77afcf27c31 ppc64-sources-2.6.4-r1.ebuild 3167 MD5 e8e396a215e18576849cd4b0829cc43b ppc64-sources-2.6.6.ebuild 2925 +MD5 2b27c68760f9132a227db7d6d238712e ppc64-sources-2.6.7.ebuild 2935 MD5 37846cc823c056554078424877d57ec4 files/digest-ppc64-sources-2.6.4-r1 198 -MD5 31ec7b4310dd7be3e34aab0204f9b1e8 files/ppc64-sources-2.6.4.CAN-2004-0109.patch 2072 MD5 2db6399bd9b0f2b1358c0ea48a50b757 files/digest-ppc64-sources-2.6.6 136 +MD5 31ec7b4310dd7be3e34aab0204f9b1e8 files/ppc64-sources-2.6.4.CAN-2004-0109.patch 2072 +MD5 5edd34eaed514d73e634299e104f670d files/digest-ppc64-sources-2.6.7 131 diff --git a/sys-kernel/ppc64-sources/files/digest-ppc64-sources-2.6.7 b/sys-kernel/ppc64-sources/files/digest-ppc64-sources-2.6.7 new file mode 100644 index 000000000000..d7b7b29e8a69 --- /dev/null +++ b/sys-kernel/ppc64-sources/files/digest-ppc64-sources-2.6.7 @@ -0,0 +1,2 @@ +MD5 5218790bc3db41e77a7422969639a9ad linux-2.6.6.tar.bz2 34896138 +MD5 a9f996bb77c089fa652237ccd791cfaa patch-2.6.7-rc2.bz2 2561094 diff --git a/sys-kernel/ppc64-sources/ppc64-sources-2.6.7.ebuild b/sys-kernel/ppc64-sources/ppc64-sources-2.6.7.ebuild new file mode 100644 index 000000000000..8436dde36e00 --- /dev/null +++ b/sys-kernel/ppc64-sources/ppc64-sources-2.6.7.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc64-sources/ppc64-sources-2.6.7.ebuild,v 1.1 2004/06/04 04:42:02 tgall Exp $ + +ETYPE="sources" +inherit kernel + +OKV="2.6.6" + +######## last BK changeset in this patch: 1.1390 + +AMV=1 +EXTRAVERSION="-${PR}" + +KV=${PV}${EXTRAVERSION} +S=${WORKDIR}/${PN}-${KV} + +inherit eutils +IUSE="extlib" + +# What's in this kernel? +# INCLUDED: 2.6 ames snapshot + +DESCRIPTION="Full sources for the linux kernel 2.6 with ames's patchset" +SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 + ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.7-rc2.bz2" +KEYWORDS="-ppc ~ppc64" +DEPEND=" extlib? ( dev-libs/ucl )" +RDEPEND="sys-apps/module-init-tools" +SLOT=${KV} +PROVIDE="virtual/linux-sources + virtual/alsa" + +src_unpack() { + cd ${WORKDIR} + unpack linux-${OKV}.tar.bz2 + + mv linux-${OKV} ${S} + cd ${S} + + cp ${DISTDIR}/patch-2.6.7-rc2.bz2 ${WORKDIR} + bunzip2 ${WORKDIR}/patch-2.6.7-rc2.bz2 + epatch ${WORKDIR}/patch-2.6.7-rc2 + rm ${WORKDIR}/patch-2.6.7-rc2 + + # Gentoo Linux uses /boot, so fix 'make install' to work properly + # also fix the EXTRAVERSION + mv Makefile Makefile.orig + sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ + -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \ + Makefile.orig >Makefile || die # test, remove me if Makefile ok + rm Makefile.orig + + cd Documentation/DocBook + sed -e "s:db2:docbook2:g" Makefile > Makefile.new \ + && mv Makefile.new Makefile + cd ${S} + + # This is needed on > 2.5 + MY_ARCH=${ARCH} + unset ARCH + # Sometimes we have icky kernel symbols; this seems to get rid of them + make mrproper || die "make mrproper died" + ARCH=${MY_ARCH} +} + +src_install() { + dodir /usr/src + echo ">>> Copying sources..." + mv ${WORKDIR}/* ${D}/usr/src +} +pkg_postinst() { + if [ ! -e ${ROOT}usr/src/linux ] + then + ln -sf ppc64-sources-2.6.7-r0 ${ROOT}/usr/src/linux + fi + + ewarn "Please note that ptyfs support has been removed from devfs" + ewarn "in the later 2.6 kernels, and you have to compile it in now," + ewarn "or else you will get errors when trying to open a pty." + ewarn "The option is File systems->Pseudo filesystems->/dev/pts" + ewarn "filesystem." + echo + ewarn "Also, note that you must compile in support for" + ewarn "input devices (Input device support->Input devices)," + ewarn "the virtual terminal (Character Devices->Virtual terminal)," + ewarn "and the vt_console (Character Devices->Support for console...)." + ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\"" + ewarn "error." + echo + ewarn "DONT enable preempt as it's very broken on ppc64, also" + ewarn "rivafb and the mac floppy drivers are both broken. NVidia" + ewarn "users should use the openfirmware framebuffer for now." + echo + einfo "Consult http://www.linux.org.uk/~davej/docs/post-halloween-2.6.txt" + einfo "for more info about the 2.6 series." + echo +} |