From: | "Doug Goldstein (cardoe)" <cardoe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/kvm-kmod: ChangeLog kvm-kmod-2.6.32.7.ebuild |
Date: | Mon, 01 Feb 2010 08:38:05 |
Message-Id: | E1NbrnE-0006LF-Ve@stork.gentoo.org |
1 | cardoe 10/02/01 08:38:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: kvm-kmod-2.6.32.7.ebuild |
5 | Log: |
6 | version bump to correct some bugs in the userspace interface and fix a small kernel leak per VCPU creation |
7 | (Portage version: 2.1.7.16/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.8 app-emulation/kvm-kmod/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.8&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.8&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?r1=1.7&r2=1.8 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v |
19 | retrieving revision 1.7 |
20 | retrieving revision 1.8 |
21 | diff -u -r1.7 -r1.8 |
22 | --- ChangeLog 12 Jan 2010 06:12:24 -0000 1.7 |
23 | +++ ChangeLog 1 Feb 2010 08:38:00 -0000 1.8 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-emulation/kvm-kmod |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.7 2010/01/12 06:12:24 cardoe Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.8 2010/02/01 08:38:00 cardoe Exp $ |
29 | + |
30 | +*kvm-kmod-2.6.32.7 (01 Feb 2010) |
31 | + |
32 | + 01 Feb 2010; Doug Goldstein <cardoe@g.o> +kvm-kmod-2.6.32.7.ebuild: |
33 | + version bump to correct some bugs in the userspace interface and fix a |
34 | + small kernel leak per VCPU creation |
35 | |
36 | *kvm-kmod-2.6.32.3 (12 Jan 2010) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-emulation/kvm-kmod/kvm-kmod-2.6.32.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: kvm-kmod-2.6.32.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.7.ebuild,v 1.1 2010/02/01 08:38:00 cardoe Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit eutils linux-mod |
55 | |
56 | SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2" |
57 | |
58 | DESCRIPTION="Kernel-based Virtual Machine kernel modules" |
59 | HOMEPAGE="http://www.linux-kvm.org" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="-* ~amd64 ~x86" |
64 | IUSE="" |
65 | RESTRICT="test" |
66 | |
67 | RDEPEND="" |
68 | DEPEND="${RDEPEND}" |
69 | |
70 | pkg_setup() { |
71 | linux-info_pkg_setup |
72 | if ! linux_chkconfig_present KVM; then |
73 | eerror "KVM now needs CONFIG_KVM built into your kernel, even" |
74 | eerror "if you're using the external modules from this package." |
75 | eerror "Please enable KVM support in your kernel, found at:" |
76 | eerror |
77 | eerror " Virtualization" |
78 | eerror " Kernel-based Virtual Machine (KVM) support" |
79 | eerror |
80 | die "KVM support not detected!" |
81 | fi |
82 | BUILD_TARGETS="all" |
83 | MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)" |
84 | MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)" |
85 | MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)" |
86 | linux-mod_pkg_setup |
87 | } |
88 | |
89 | src_configure() { |
90 | local conf_opts |
91 | |
92 | conf_opts="--kerneldir=$KV_DIR" |
93 | |
94 | if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then |
95 | conf_opts="$conf_opts --arch=x86" |
96 | fi |
97 | |
98 | ./configure ${conf_opts} || die "configure failed" |
99 | } |
100 | |
101 | src_compile() { |
102 | linux-mod_src_compile |
103 | } |
104 | |
105 | src_install() { |
106 | linux-mod_src_install |
107 | } |
108 | |
109 | pkg_preinst() { |
110 | find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete |
111 | |
112 | linux-mod_pkg_preinst |
113 | } |