diff options
author | Bartosch Pixa <darkspecter@gentoo.org> | 2003-11-05 22:44:52 +0000 |
---|---|---|
committer | Bartosch Pixa <darkspecter@gentoo.org> | 2003-11-05 22:44:52 +0000 |
commit | c49a9a861dda754ae448aa3ad8d5b152a9e98f99 (patch) | |
tree | 292f0358f17d5de00da673fa941f474ec436c4f0 /sys-kernel/ppc-development-sources | |
parent | initial import (diff) | |
download | gentoo-2-c49a9a861dda754ae448aa3ad8d5b152a9e98f99.tar.gz gentoo-2-c49a9a861dda754ae448aa3ad8d5b152a9e98f99.tar.bz2 gentoo-2-c49a9a861dda754ae448aa3ad8d5b152a9e98f99.zip |
initial import
Diffstat (limited to 'sys-kernel/ppc-development-sources')
5 files changed, 129 insertions, 2 deletions
diff --git a/sys-kernel/ppc-development-sources/ChangeLog b/sys-kernel/ppc-development-sources/ChangeLog new file mode 100644 index 000000000000..5e99fd84282a --- /dev/null +++ b/sys-kernel/ppc-development-sources/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2003/11/05 22:44:48 darkspecter Exp $ + +*ppc-development-sources-2.6.0_beta9-r3 (05 Nov 2003) + + 05 Nov 2003; Bartosch Pixa <darkspecter@gentoo.org> + ppc-development-sources-2.6.0_beta9-r3.ebuild: + initial import + diff --git a/sys-kernel/ppc-development-sources/Manifest b/sys-kernel/ppc-development-sources/Manifest index cc540fe8f3df..160966b0b6d1 100644 --- a/sys-kernel/ppc-development-sources/Manifest +++ b/sys-kernel/ppc-development-sources/Manifest @@ -1,4 +1,4 @@ -MD5 16c2cf141f7caf64fa47ffbc3c27f860 ppc-development-sources-2.6.0_beta9-r3.ebuild 2934 -MD5 e69e2b0a67fa73951552b723c8963794 ChangeLog 319 +MD5 cfc015062cb957bac8aa6125f39d1da5 ppc-development-sources-2.6.0_beta9-r3.ebuild 2964 +MD5 d98b2d367d02343df963e0a04850205a ChangeLog 431 MD5 1c052e00eb39506aa1b54ec02045995a metadata.xml 504 MD5 82c462ec939a497add3a635d399298d9 files/digest-ppc-development-sources-2.6.0_beta9-r3 146 diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta9-r3 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta9-r3 new file mode 100644 index 000000000000..05cf5e42d880 --- /dev/null +++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta9-r3 @@ -0,0 +1,2 @@ +MD5 52eef08a43aa28689213b8ab5674f73b linux-2.6.0-test9.tar.bz2 33226512 +MD5 ff284f72da51349b77e8abed36e4c65f patches-2.6.0-test9-benh3.bz2 335092 diff --git a/sys-kernel/ppc-development-sources/metadata.xml b/sys-kernel/ppc-development-sources/metadata.xml new file mode 100644 index 000000000000..2c353d6e530a --- /dev/null +++ b/sys-kernel/ppc-development-sources/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + +<herd>ppc-kernel</herd> + +<maintainer> + <email>lu_zero@gentoo.org</email> + <name>Luca Barbato</name> +</maintainer> + +<maintainer> + <email>darkspecter@gentoo.org</email> + <name>Bartosch Pixa</name> +</maintainer> + +<longdescription> +This kernel is a snapshot of the linuxppc-2.5-benh tree, with additional fixes +but without any feature additions. +</longdescription> + +</pkgmetadata> + diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta9-r3.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta9-r3.ebuild new file mode 100644 index 000000000000..1719fe1ac5c6 --- /dev/null +++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta9-r3.ebuild @@ -0,0 +1,92 @@ +# 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_beta9-r3.ebuild,v 1.1 2003/11/05 22:44:48 darkspecter Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" + +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} + +inherit kernel 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}/${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 +} |