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