1 |
cardoe 10/08/25 19:04:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kvm-kmod-2.6.32.17.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.15 app-emulation/kvm-kmod/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.15&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.15&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?r1=1.14&r2=1.15 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v |
19 |
retrieving revision 1.14 |
20 |
retrieving revision 1.15 |
21 |
diff -u -r1.14 -r1.15 |
22 |
--- ChangeLog 25 Aug 2010 19:03:01 -0000 1.14 |
23 |
+++ ChangeLog 25 Aug 2010 19:04:17 -0000 1.15 |
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.14 2010/08/25 19:03:01 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.15 2010/08/25 19:04:17 cardoe Exp $ |
29 |
+ |
30 |
+*kvm-kmod-2.6.32.17 (25 Aug 2010) |
31 |
+ |
32 |
+ 25 Aug 2010; Doug Goldstein <cardoe@g.o> |
33 |
+ +kvm-kmod-2.6.32.17.ebuild: |
34 |
+ version bump |
35 |
|
36 |
25 Aug 2010; Doug Goldstein <cardoe@g.o> |
37 |
-kvm-kmod-2.6.32.12.ebuild, kvm-kmod-2.6.32.16.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/kvm-kmod/kvm-kmod-2.6.32.17.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.17.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.17.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: kvm-kmod-2.6.32.17.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.17.ebuild,v 1.1 2010/08/25 19:04:17 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-chkconfig_exists || die "Your kernel sources are unconfigured" |
72 |
|
73 |
linux-info_pkg_setup |
74 |
if ! linux_chkconfig_present KVM; then |
75 |
eerror "KVM now needs CONFIG_KVM built into your kernel, even" |
76 |
eerror "if you're using the external modules from this package." |
77 |
eerror "Please enable KVM support in your kernel, found at:" |
78 |
eerror |
79 |
eerror " Virtualization" |
80 |
eerror " Kernel-based Virtual Machine (KVM) support" |
81 |
eerror |
82 |
die "KVM support not detected!" |
83 |
fi |
84 |
BUILD_TARGETS="all" |
85 |
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)" |
86 |
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)" |
87 |
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)" |
88 |
linux-mod_pkg_setup |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
local conf_opts |
93 |
|
94 |
conf_opts="--kerneldir=$KV_DIR" |
95 |
|
96 |
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then |
97 |
conf_opts="$conf_opts --arch=x86" |
98 |
fi |
99 |
|
100 |
./configure ${conf_opts} || die "configure failed" |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
linux-mod_src_compile |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
linux-mod_src_install |
109 |
} |
110 |
|
111 |
pkg_preinst() { |
112 |
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete |
113 |
|
114 |
linux-mod_pkg_preinst |
115 |
} |