summaryrefslogtreecommitdiff
blob: 2f2dcedb39381c3318a44b65d0255c1eceb3d11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

ETYPE="sources"
UNIPATCH_STRICTORDER="1"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="13"
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.1.0-fc7-2925"
XEN_BASE_KV="2.6.20"
XEN_PATCH="patch-${XEN_BASE_KV}_to_xen-${XEN_VERSION}.bz2"
# Change to gentoo mirror when pushed into portage:
PATCH_URI="http://dev.gentoo.org/~marineam/files/xen/${XEN_PATCH}"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${PATCH_URI}"

UNIPATCH_LIST="${DISTDIR}/${XEN_PATCH}"

KEYWORDS="~x86 ~amd64"

DEPEND="${DEPEND}
	>=sys-devel/binutils-2.17"

pkg_postinst() {
	postinst_sources

	elog "This kernel is for Xen 3.1.0 and based on RedHat's patchset in"
	elog "Fedora 7, if you have troubles try xen-sources-2.6.18* which is"
	elog "based on the patches released with Xen."
}