summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-12-12 23:23:07 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-12-12 23:23:07 +0000
commit602e12b98cad3d88c7f2fe69fe14d6acfc9ac1da (patch)
tree914785881b7d0c85926b233ed5ba4a54d5273697 /sys-kernel/ppc-development-sources
parentMinor fixes (Manifest recommit) (diff)
downloadgentoo-2-602e12b98cad3d88c7f2fe69fe14d6acfc9ac1da.tar.gz
gentoo-2-602e12b98cad3d88c7f2fe69fe14d6acfc9ac1da.tar.bz2
gentoo-2-602e12b98cad3d88c7f2fe69fe14d6acfc9ac1da.zip
New snapshot
Diffstat (limited to 'sys-kernel/ppc-development-sources')
-rw-r--r--sys-kernel/ppc-development-sources/ChangeLog8
-rw-r--r--sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r22
-rw-r--r--sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r2.ebuild95
3 files changed, 104 insertions, 1 deletions
diff --git a/sys-kernel/ppc-development-sources/ChangeLog b/sys-kernel/ppc-development-sources/ChangeLog
index d0e434e1f3a0..5550f77d90c6 100644
--- a/sys-kernel/ppc-development-sources/ChangeLog
+++ b/sys-kernel/ppc-development-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/ppc-development-sources
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ChangeLog,v 1.9 2003/12/04 22:20:57 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ChangeLog,v 1.10 2003/12/12 23:23:07 lu_zero Exp $
+
+*ppc-development-sources-2.6.0_beta11-r2 (13 Dec 2003)
+
+ 13 Dec 2003; Luca Barbato <lu_zero@gentoo.org>
+ ppc-development-sources-2.6.0_beta11-r2.ebuild:
+ New snapshot: caps of sleep resolved
*ppc-development-sources-2.6.0_beta11-r1 (02 Dec 2003)
diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r2 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r2
new file mode 100644
index 000000000000..09b3b6608782
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r2
@@ -0,0 +1,2 @@
+MD5 06ba5a7eeb924036633a7b33689b2c4f linux-2.6.0-test11.tar.bz2 33243689
+MD5 365d4d7164a6104d0a3f3556d74425c5 patches-2.6.0-test11-benh2.bz2 333645
diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r2.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r2.ebuild
new file mode 100644
index 000000000000..c79d5b4f8cd6
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r2.ebuild,v 1.1 2003/12/12 23:23:07 lu_zero Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="sources"
+inherit kernel
+
+OKV=${PV/_beta/-test}
+
+EXTRAVERSION="`echo ${OKV}-${PR/r/benh} | \
+ sed -e 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`"
+
+KV=${OKV}-${PR/r/benh}
+
+S=${WORKDIR}/linux-${KV}
+
+inherit eutils
+
+# What's in this kernel?
+
+# INCLUDED: 2.6 vanilla + benh bk snapshot
+
+DESCRIPTION="Full sources for the development linux kernel 2.6 with benh's patchset"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${PV/_beta/-test}.tar.bz2
+ mirror://gentoo/patches-${KV}.bz2"
+KEYWORDS="~ppc"
+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} ${PF}
+ cd ${PF}
+ bzcat ${DISTDIR}/patches-${KV}.bz2 | patch -p1 || die "patch failed"
+ find . -iname "*~" | xargs rm 2> /dev/null
+
+ # 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 ${WORKDIR}/${PF}
+ #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-beta ]
+ then
+ ln -sf linux-${KV} ${ROOT}/usr/src/linux-beta
+ fi
+
+ ewarn "Please note that ptyfs support has been removed from devfs"
+ ewarn "in the later 2.5.x 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 ppc currently, 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.codemonkey.org.uk/post-halloween-2.5.txt"
+ einfo "for more info about the development series."
+ echo
+}