diff options
author | 2003-11-19 16:14:18 +0000 | |
---|---|---|
committer | 2003-11-19 16:14:18 +0000 | |
commit | b60d5f02794047b70b27c59b5f79fd75b2336b21 (patch) | |
tree | 68ad2f381785ed2a314060b0be2e71239acb6293 /sys-kernel/ppc-development-sources | |
parent | new benh snapshot (diff) | |
download | historical-b60d5f02794047b70b27c59b5f79fd75b2336b21.tar.gz historical-b60d5f02794047b70b27c59b5f79fd75b2336b21.tar.bz2 historical-b60d5f02794047b70b27c59b5f79fd75b2336b21.zip |
new benh snapshot
Diffstat (limited to 'sys-kernel/ppc-development-sources')
3 files changed, 96 insertions, 2 deletions
diff --git a/sys-kernel/ppc-development-sources/Manifest b/sys-kernel/ppc-development-sources/Manifest index 960ae9841459..3950d33315cc 100644 --- a/sys-kernel/ppc-development-sources/Manifest +++ b/sys-kernel/ppc-development-sources/Manifest @@ -1,8 +1,8 @@ -MD5 3972e8fcb8a4d80b1758d4d11b5220da ChangeLog 784 +MD5 fa772ef82c5d86058b0c2ec5d0eb202d ChangeLog 1017 MD5 1c052e00eb39506aa1b54ec02045995a metadata.xml 504 MD5 468c3ca0beea5473b5c69dcc83e0a4ba ppc-development-sources-2.6.0_beta9-r3.ebuild 2971 MD5 a82cac4830e249222b9d6aa506a6117e ppc-development-sources-2.6.0_beta9-r4.ebuild 2971 -MD5 a82cac4830e249222b9d6aa506a6117e ppc-development-sources-2.6.0_beta9-r5.ebuild 2971 +MD5 ec3289a0eaf9bfffa8cb5bee597faa1e ppc-development-sources-2.6.0_beta9-r5.ebuild 2971 MD5 82c462ec939a497add3a635d399298d9 files/digest-ppc-development-sources-2.6.0_beta9-r3 146 MD5 23355c925f3ea8c119c6dda82d6c8a68 files/digest-ppc-development-sources-2.6.0_beta9-r4 146 MD5 6529a7632804727ce1cd9e415d15f446 files/digest-ppc-development-sources-2.6.0_beta9-r5 146 diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta9-r5 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta9-r5 new file mode 100644 index 000000000000..924c623097aa --- /dev/null +++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta9-r5 @@ -0,0 +1,2 @@ +MD5 52eef08a43aa28689213b8ab5674f73b linux-2.6.0-test9.tar.bz2 33226512 +MD5 3ec4b38f427e70229d3f7995bcb0274a patches-2.6.0-test9-benh5.bz2 401932 diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta9-r5.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta9-r5.ebuild new file mode 100644 index 000000000000..90ca7d19da3b --- /dev/null +++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta9-r5.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-r5.ebuild,v 1.1 2003/11/19 16:14:13 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}/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 +} |