diff options
author | Michael Marineau <marineam@gentoo.org> | 2007-05-02 03:31:45 +0000 |
---|---|---|
committer | Michael Marineau <marineam@gentoo.org> | 2007-05-02 03:31:45 +0000 |
commit | f4d1c3a69310fdde9fb7f06f05e90229286ebb49 (patch) | |
tree | e5697b02a33c293f45fe0f72a90306dfb5a0f4f7 /sys-kernel | |
parent | (#176736) Requires a new enough version of gperf for the --output-file option. (diff) | |
download | gentoo-2-f4d1c3a69310fdde9fb7f06f05e90229286ebb49.tar.gz gentoo-2-f4d1c3a69310fdde9fb7f06f05e90229286ebb49.tar.bz2 gentoo-2-f4d1c3a69310fdde9fb7f06f05e90229286ebb49.zip |
Add 2.6.16.33 and .49 for Xen 3.0.4
(Portage version: 2.1.1-r2)
Diffstat (limited to 'sys-kernel')
5 files changed, 105 insertions, 1 deletions
diff --git a/sys-kernel/xen-sources/ChangeLog b/sys-kernel/xen-sources/ChangeLog index 2b97d8126ca9..6f52be773628 100644 --- a/sys-kernel/xen-sources/ChangeLog +++ b/sys-kernel/xen-sources/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-kernel/xen-sources # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/ChangeLog,v 1.37 2007/01/27 07:44:34 aross Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/ChangeLog,v 1.38 2007/05/02 03:31:45 marineam Exp $ + +*xen-sources-2.6.16.49 (02 May 2007) +*xen-sources-2.6.16.33 (02 May 2007) + + 02 May 2007; Michael Marineau <marineam@gentoo.org> + +xen-sources-2.6.16.33.ebuild, +xen-sources-2.6.16.49.ebuild: + Add 2.6.16.33 and .39 for Xen 3.0.4 *xen-sources-2.6.16.28-r2 (27 Jan 2007) diff --git a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.33 b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.33 new file mode 100644 index 000000000000..a7118b89a208 --- /dev/null +++ b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.33 @@ -0,0 +1,9 @@ +MD5 9a91b2719949ff0856b40bc467fd47be linux-2.6.16.tar.bz2 40845005 +RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 linux-2.6.16.tar.bz2 40845005 +SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 linux-2.6.16.tar.bz2 40845005 +MD5 2bbb81b5f82d294f80e98616c65ae086 patch-2.6.16.33.bz2 119729 +RMD160 00168955e8219783b39896ba53ebbd36361a8e8a patch-2.6.16.33.bz2 119729 +SHA256 25cec957b2057381f61c5d1e6963dd6fab46264cda160cd6550ead3bdb4ccaba patch-2.6.16.33.bz2 119729 +MD5 e85e16ad3dc354338e3ac4a8951f9649 xen-3.0.4_1-src.tgz 6473636 +RMD160 f869eec35f6afe0bc9824ce2eb4a600f789d423b xen-3.0.4_1-src.tgz 6473636 +SHA256 6b3842393e69a9c8fcdbc2789d05830aba6f1d108a6f97f1448de4a86f92a5cb xen-3.0.4_1-src.tgz 6473636 diff --git a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.49 b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.49 new file mode 100644 index 000000000000..c8da72398c30 --- /dev/null +++ b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.49 @@ -0,0 +1,9 @@ +MD5 9a91b2719949ff0856b40bc467fd47be linux-2.6.16.tar.bz2 40845005 +RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 linux-2.6.16.tar.bz2 40845005 +SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 linux-2.6.16.tar.bz2 40845005 +MD5 a45805635c1e1f53edebe01486761ecc patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 +RMD160 5c595e8b4c6565de241a5b3a31f2e34afb24face patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 +SHA256 0ce11436602401447763688819c4f62db87cac644e093304b7522b073693f9da patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 +MD5 e46be5ef52ae991575d45ad433132ac8 patch-2.6.16.49.bz2 309537 +RMD160 4ae48c9432e1ed61d0e882174d8174de9b52593d patch-2.6.16.49.bz2 309537 +SHA256 ed6fb9875dc2f263c9f405092713435c91337393b937a2dc8c3c82c7223cfd8d patch-2.6.16.49.bz2 309537 diff --git a/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild b/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild new file mode 100644 index 000000000000..308d7ade7220 --- /dev/null +++ b/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild,v 1.1 2007/05/02 03:31:45 marineam Exp $ + +ETYPE="sources" +inherit kernel-2 eutils +detect_arch +detect_version + +DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen" +HOMEPAGE="http://www.xensource.com/xen/xen/" +XEN_VERSION="3.0.4_1" +MY_P="xen-${XEN_VERSION}-src" +XEN_URI="http://bits.xensource.com/oss-xen/release/${XEN_VERSION/_/-}/src.tgz/${MY_P}.tgz" +SRC_URI="${KERNEL_URI} ${XEN_URI}" + +KEYWORDS="~x86 ~amd64" + +src_unpack() { + kernel-2_src_unpack + cd "${WORKDIR}" + unpack "${MY_P}.tgz" + + cd "${WORKDIR}"/${MY_P} + sed -e 's:relative_lndir \([^(].*\):cp -dpPR \1/* .:' \ + -i linux-2.6-xen-sparse/mkbuildtree || die + + # Don't munge up EXTRAVERSION + sed -e 's:$$(XENGUEST)::' -i buildconfigs/mk.linux-2.6-xen + + # No need to run oldconfig + sed -e 's:$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) oldconfig::' \ + -i buildconfigs/mk.linux-2.6-xen + + # Move the kernel sources to pristine-linux-${PV} + mv "${WORKDIR}"/linux-${KV} pristine-linux-${PV} || die + touch pristine-linux-${PV}/.valid-pristine || die + + make LINUX_SRC_PATH=${DISTDIR} XEN_ROOT=${WORKDIR}/${MY_P} \ + -f buildconfigs/mk.linux-2.6-xen \ + linux-${PV}-xen/include/linux/autoconf.h || die + mv linux-${PV}-xen "${WORKDIR}"/linux-${KV} || die + rm -rf "${WORKDIR}/${MY_P}" || die +} + +pkg_postinst() { + postinst_sources + + elog "This kernel uses the linux patches released with Xen ${XEN_VERSION}" + elog "It may not work with other versions of Xen" +} diff --git a/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild b/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild new file mode 100644 index 000000000000..f95c1fd21656 --- /dev/null +++ b/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild,v 1.1 2007/05/02 03:31:45 marineam Exp $ + +ETYPE="sources" +UNIPATCH_STRICTORDER="1" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen" +HOMEPAGE="http://www.xensource.com/xen/xen/" + +XEN_VERSION="3.0.4_1" +XEN_BASE_KV="2.6.16.33" +XEN_PATCH="patch-${XEN_BASE_KV}_to_xen-${XEN_VERSION}.bz2" +PATCH_URI="mirror://gentoo/${XEN_PATCH}" +SRC_URI="${KERNEL_URI} ${PATCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/${XEN_PATCH}" + +KEYWORDS="~x86 ~amd64" + +pkg_postinst() { + postinst_sources + + elog "This kernel uses the linux patches released with Xen 3.0.4" + elog "It claims to have a 3.0.2 compatibility option but it may not work." +} |