diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2003-11-26 02:39:01 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2003-11-26 02:39:01 +0000 |
commit | adbbc2be2a2c732c0037a34e5b68996bc2527353 (patch) | |
tree | 9e4162010b34245cd3ad99481321ef254dfca7a6 /sys-kernel/ppc-development-sources | |
parent | ~ppc (diff) | |
download | gentoo-2-adbbc2be2a2c732c0037a34e5b68996bc2527353.tar.gz gentoo-2-adbbc2be2a2c732c0037a34e5b68996bc2527353.tar.bz2 gentoo-2-adbbc2be2a2c732c0037a34e5b68996bc2527353.zip |
~ppc
Diffstat (limited to 'sys-kernel/ppc-development-sources')
4 files changed, 106 insertions, 3 deletions
diff --git a/sys-kernel/ppc-development-sources/ChangeLog b/sys-kernel/ppc-development-sources/ChangeLog index fe37ecaccaf5..15e9ef4d198e 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.6 2003/11/20 07:43:38 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ChangeLog,v 1.7 2003/11/26 02:38:50 lu_zero Exp $ + +*ppc-development-sources-2.6.0_beta10-r1 (26 Nov 2003) + + 26 Nov 2003; Luca Barbato <lu_zero@gentoo.org> + ppc-development-sources-2.6.0_beta10-r1.ebuild: + New snapshot 20 Nov 2003; Bartosch Pixa <darkspecter@gentoo.org> : minor fix in the r5 patch diff --git a/sys-kernel/ppc-development-sources/Manifest b/sys-kernel/ppc-development-sources/Manifest index 4d665c0fb927..d6f1441e4b4b 100644 --- a/sys-kernel/ppc-development-sources/Manifest +++ b/sys-kernel/ppc-development-sources/Manifest @@ -1,8 +1,8 @@ MD5 25107a6e72f6f07245c3b41022a68a40 ppc-development-sources-2.6.0_beta9-r5.ebuild 3003 MD5 87fe5938b88c4497715b7af67cb58f01 ppc-development-sources-2.6.0_beta9-r3.ebuild 3003 -MD5 1fae5e9c26891452aae7c29045079101 ChangeLog 1555 +MD5 c12b3b8a32739b7fdc5f82757fb736b5 ChangeLog 1553 MD5 1c052e00eb39506aa1b54ec02045995a metadata.xml 504 -MD5 87fe5938b88c4497715b7af67cb58f01 ppc-development-sources-2.6.0_beta10-r1.ebuild 3003 +MD5 c2b8a765922ce2b4de4bf843058ad06b ppc-development-sources-2.6.0_beta10-r1.ebuild 3002 MD5 7db2e7683742a7c80cb723a88f3a94f4 ppc-development-sources-2.6.0_beta9-r4.ebuild 3003 MD5 67b76c684bfe83b8eebe1e76defbbb8a files/digest-ppc-development-sources-2.6.0_beta9-r5 146 MD5 2562356d9d52640bf176789d8904a97f files/digest-ppc-development-sources-2.6.0_beta10-r1 148 diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta10-r1 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta10-r1 new file mode 100644 index 000000000000..3944a0b3da17 --- /dev/null +++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta10-r1 @@ -0,0 +1,2 @@ +MD5 61828549d38189bdece85f5107a507ca linux-2.6.0-test10.tar.bz2 33240118 +MD5 87aed144405c86d41be80f32066288a4 patches-2.6.0-test10-benh1.bz2 328596 diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta10-r1.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta10-r1.ebuild new file mode 100644 index 000000000000..c3e610606321 --- /dev/null +++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta10-r1.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_beta10-r1.ebuild,v 1.1 2003/11/26 02:38:50 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 +} |