/[gentoo-x86]/sys-kernel/openvz-sources/openvz-sources-2.6.32.72.10.ebuild
Gentoo

Contents of /sys-kernel/openvz-sources/openvz-sources-2.6.32.72.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 23 12:03:08 2013 UTC (19 months, 3 weeks ago) by pinkbyte
Branch: MAIN
Version bump, requested by Andreis Vinogradovs

(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.32.68.8.ebuild,v 1.1 2013/01/03 19:58:15 pinkbyte Exp $
4
5 inherit versionator
6
7 OVZ_KV="0$(get_version_component_range 4).$(get_version_component_range 5)"
8
9 CKV=$(get_version_component_range 1-3)
10 OKV=${OKV:-${CKV}}
11 EXTRAVERSION=-${PN/-*}-${OVZ_KV}
12 ETYPE="sources"
13 KV_FULL=${CKV}${EXTRAVERSION}
14 if [[ ${PR} != "r0" ]]; then
15 KV_FULL+=-${PR}
16 EXTRAVERSION+=-${PR}
17 fi
18 S=${WORKDIR}/linux-${KV_FULL}
19
20 # ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
21 KV_MAJOR=$(get_version_component_range 1 ${OKV})
22 KV_MINOR=$(get_version_component_range 2 ${OKV})
23 KV_PATCH=$(get_version_component_range 3 ${OKV})
24
25 KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
26
27 inherit kernel-2
28 #detect_version
29
30 KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
31 IUSE=""
32
33 DESCRIPTION="Kernel sources with OpenVZ patchset"
34 HOMEPAGE="http://www.openvz.org"
35 SRC_URI="${KERNEL_URI} ${ARCH_URI}
36 http://download.openvz.org/kernel/branches/rhel6-${CKV}/042stab${OVZ_KV}/patches/patch-042stab${OVZ_KV}-combined.gz"
37
38 UNIPATCH_STRICTORDER=1
39 UNIPATCH_LIST="${DISTDIR}/patch-042stab${OVZ_KV}-combined.gz"
40
41 K_EXTRAEINFO="This openvz kernel uses RHEL6 patchset instead of vanilla kernel.
42 This patchset considered to be more stable and security supported by upstream,
43 but for us RHEL6 patchset is very fragile and fails to build in many
44 configurations so if you have problems use config files from openvz team
45 http://wiki.openvz.org/Download/kernel/rhel6/042stab${OVZ_KV}
46
47 For info in next paragraph, see
48 http://bugzilla.openvz.org/show_bug.cgi?id=2012#1
49
50 In general, RHEL kernels are very sensitive to compiler version and therefore
51 should be compiled by RHEL compiler, otherwise there might be stability issues,
52 sometimes as bad as this case."
53
54 K_EXTRAEWARN="This kernel is stable only when built with gcc-4.4.x and is known
55 to oops in random places if built with newer compilers."

  ViewVC Help
Powered by ViewVC 1.1.20