diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-08-28 18:33:55 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-08-28 18:33:55 +0000 |
commit | bc067236b1bc4cf1f179041fafeaaecf2e1b0925 (patch) | |
tree | db8583210e48ccf65b1fa4e5b575dc55c71880ee /sys-kernel | |
parent | UML for Linux 2.4.21 kernels (diff) | |
download | gentoo-2-bc067236b1bc4cf1f179041fafeaaecf2e1b0925.tar.gz gentoo-2-bc067236b1bc4cf1f179041fafeaaecf2e1b0925.tar.bz2 gentoo-2-bc067236b1bc4cf1f179041fafeaaecf2e1b0925.zip |
UML for Linux 2.4.21 kernels
Diffstat (limited to 'sys-kernel')
4 files changed, 61 insertions, 3 deletions
diff --git a/sys-kernel/usermode-sources/ChangeLog b/sys-kernel/usermode-sources/ChangeLog index 17bf4d3e0704..ccfef0d0ac88 100644 --- a/sys-kernel/usermode-sources/ChangeLog +++ b/sys-kernel/usermode-sources/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-kernel/usermode-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/ChangeLog,v 1.10 2003/03/02 21:16:00 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/ChangeLog,v 1.11 2003/08/28 18:33:47 stuart Exp $ + + 28 Aug 2003; stuart : + Upgraded to provide UML for 2.4.21 kernels *usermode-sources-2.4.20-rX (05 Mar 2002) diff --git a/sys-kernel/usermode-sources/Manifest b/sys-kernel/usermode-sources/Manifest index 26b2c5fd9f79..e8480287ff6f 100644 --- a/sys-kernel/usermode-sources/Manifest +++ b/sys-kernel/usermode-sources/Manifest @@ -1,7 +1,7 @@ -MD5 79da20d01b1f0e535bf338037b8c1f85 usermode-sources-2.4.21.ebuild 1449 +MD5 78caf65ec90f1c98323b3113fab91c82 usermode-sources-2.4.21.ebuild 1445 MD5 a42bbfac9dabc751f86958b0ad26269b usermode-sources-2.4.19-r51.ebuild 1938 MD5 bdc0a47359d72e89bc07bddb125461aa usermode-sources-2.4.20-r1.ebuild 1937 -MD5 ed520ddc2a46c7d4ff76000390b24ada ChangeLog 1434 +MD5 4fa6de171fe2859a9cdd1fad0ecf3bf2 ChangeLog 1503 MD5 cdbafa988f39cff5d9e7a5d850915fff files/digest-usermode-sources-2.4.21 132 MD5 3c89919b01bf69d48c4307faa77d99a1 files/digest-usermode-sources-2.4.20-r1 134 MD5 6a8f7d56f78aa30e55baf1d522dac7cc files/digest-usermode-sources-2.4.19-r51 135 diff --git a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.21 b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.21 new file mode 100644 index 000000000000..d518837d7947 --- /dev/null +++ b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.21 @@ -0,0 +1,2 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 33d54a27f578bc563eb2ef608396e1bb uml-patch-2.4.21.bz2 176502 diff --git a/sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild b/sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild new file mode 100644 index 000000000000..d18040f0904b --- /dev/null +++ b/sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild,v 1.1 2003/08/28 18:33:47 stuart Exp $ + +UML_VERSION="${PV}" +UML_PATCH="uml-patch-2.4.21" + +S=${WORKDIR}/linux-${PV} + +# we patch against vanilla-sources only + +DESCRIPTION="Full (vanilla) sources for the User Mode Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 +mirror://sourceforge/user-mode-linux/${UML_PATCH}.bz2" +HOMEPAGE="http://www.kernel.org/ http://user-mode-linux.sourceforge.net" +LICENSE="GPL-2" +SLOT="${UML_VERSION}" +KEYWORDS="~x86 -ppc -sparc -alpha" + +#console-tools is needed to solve the loadkeys fiasco. +#binutils version needed to avoid Athlon/PIII/SSE assembler bugs. +DEPEND=">=sys-devel/binutils-2.11.90.0.31 dev-lang/perl" +RDEPEND=">=sys-libs/ncurses-5.2" + +src_unpack() { + + cd ${WORKDIR} + unpack linux-${PV}.tar.bz2 + if [ "${PV}" != "${UML_VERSION}" ]; then + mv linux-${PV} linux-${UML_VERSION} || die + fi + cd ${S} + bzcat ${DISTDIR}/${UML_PATCH}.bz2 | patch -p1 + echo "Preparing for compilation..." + + #fix silly permissions in tarball + cd ${WORKDIR} + chown -R 0.0 * + chmod -R a+r-w+X,u+w * + +} + +src_compile() { + ewarn "Nothing to compile. That's up to the user" +} + +src_install() { + mkdir -p ${D}/usr/src/uml + cd ${WORKDIR} + mv linux-${UML_VERSION} ${D}/usr/src/uml/ +} + + |