diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-09-06 09:53:57 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-09-06 09:53:57 -0400 |
commit | 6396ba290784de090ce6e5a8b1ea531d26bdb01a (patch) | |
tree | d645fa662cde225c5b55192f71a50a8a7b69ef68 | |
parent | 3cd1544d73e8e3a37056df97047277e61cf391ea (diff) | |
download | meta-virtualization-6396ba290784de090ce6e5a8b1ea531d26bdb01a.tar.gz |
libvirt: uprev to 1.1.2
1.1.2 is available and fixes a number of issues with 1.1.1 (segfaults
and more).
Since 1.1.1 has been available for a while, with no significant issues
reported, I'm also removing the fallback 1.0.3 and 1.1.1 recipes with
this update.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.0.3.bb | 181 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.1.2.bb (renamed from recipes-extended/libvirt/libvirt_1.1.1.bb) | 4 |
2 files changed, 2 insertions, 183 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb deleted file mode 100644 index 0d1d081e..00000000 --- a/recipes-extended/libvirt/libvirt_1.0.3.bb +++ /dev/null | |||
@@ -1,181 +0,0 @@ | |||
1 | DESCRIPTION = "A toolkit to interact with the virtualization capabilities of recent versions of Linux." | ||
2 | HOMEPAGE = "http://libvirt.org" | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f" | ||
5 | SECTION = "console/tools" | ||
6 | PR = "r9" | ||
7 | |||
8 | DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \ | ||
9 | iptables dnsmasq readline" | ||
10 | |||
11 | # These might be included by PACKAGECONFIG | ||
12 | #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf" | ||
13 | |||
14 | # libvirt-guests.sh needs gettext.sh | ||
15 | # | ||
16 | RDEPENDS_${PN} = "gettext-runtime" | ||
17 | |||
18 | RDEPENDS_libvirt-libvirtd += "bridge-utils iptables pm-utils dnsmasq netcat-openbsd" | ||
19 | RDEPENDS_libvirt-libvirtd_append_x86-64 = " dmidecode" | ||
20 | RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode" | ||
21 | |||
22 | #connman blocks the 53 port and libvirtd can't start its DNS service | ||
23 | RCONFLICTS_${PN}_libvirtd = "connman" | ||
24 | |||
25 | SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz \ | ||
26 | file://libvirt-1.0.3-fix-thread-safety-in-lxc-callback-handling.patch \ | ||
27 | file://libvirtd.sh \ | ||
28 | file://libvirtd.conf \ | ||
29 | file://qemu-fix-crash-in-qemuOpen.patch " | ||
30 | |||
31 | SRC_URI[md5sum] = "3d9f85d586c9aa3d819b626622f3fc97" | ||
32 | SRC_URI[sha256sum] = "f64f4acd7cdcfc6ab5e803195ed58b949f262b54e3659d8c37b33f0fec112757" | ||
33 | |||
34 | inherit autotools gettext update-rc.d | ||
35 | |||
36 | CACHED_CONFIGUREVARS += "\ | ||
37 | ac_cv_path_XMLLINT=/usr/bin/xmllint \ | ||
38 | ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ | ||
39 | ac_cv_path_AUGPARSE=/usr/bin/augparse \ | ||
40 | ac_cv_path_DNSMASQ=/usr/bin/dnsmasq \ | ||
41 | ac_cv_path_BRCTL=/usr/sbin/brctl \ | ||
42 | ac_cv_path_TC=/sbin/tc \ | ||
43 | ac_cv_path_UDEVADM=/sbin/udevadm \ | ||
44 | ac_cv_path_MODPROBE=/sbin/modprobe \ | ||
45 | ac_cv_path_IP_PATH=/bin/ip \ | ||
46 | ac_cv_path_IPTABLES_PATH=/usr/sbin/iptables \ | ||
47 | ac_cv_path_IP6TABLES_PATH=/usr/sbin/ip6tables \ | ||
48 | ac_cv_path_MOUNT=/bin/mount \ | ||
49 | ac_cv_path_UMOUNT=/bin/umount \ | ||
50 | ac_cv_path_MKFS=/usr/sbin/mkfs \ | ||
51 | ac_cv_path_SHOWMOUNT=/usr/sbin/showmount \ | ||
52 | ac_cv_path_PVCREATE=/usr/sbin/pvcreate \ | ||
53 | ac_cv_path_VGCREATE=/usr/sbin/vgcreate \ | ||
54 | ac_cv_path_LVCREATE=/usr/sbin/lvcreate \ | ||
55 | ac_cv_path_PVREMOVE=/usr/sbin/pvremove \ | ||
56 | ac_cv_path_VGREMOVE=/usr/sbin/vgremove \ | ||
57 | ac_cv_path_LVREMOVE=/usr/sbin/lvremove \ | ||
58 | ac_cv_path_LVCHANGE=/usr/sbin/lvchange \ | ||
59 | ac_cv_path_VGCHANGE=/usr/sbin/vgchange \ | ||
60 | ac_cv_path_VGSCAN=/usr/sbin/vgscan \ | ||
61 | ac_cv_path_PVS=/usr/sbin/pvs \ | ||
62 | ac_cv_path_VGS=/usr/sbin/vgs \ | ||
63 | ac_cv_path_LVS=/usr/sbin/lvs \ | ||
64 | ac_cv_path_PARTED=/usr/sbin/parted \ | ||
65 | ac_cv_path_DMSETUP=/usr/sbin/dmsetup" | ||
66 | |||
67 | # Some other possible paths we are not yet setting | ||
68 | #ac_cv_path_RPCGEN= | ||
69 | #ac_cv_path_XSLTPROC= | ||
70 | #ac_cv_path_RADVD= | ||
71 | #ac_cv_path_UDEVSETTLE= | ||
72 | #ac_cv_path_EBTABLES_PATH= | ||
73 | #ac_cv_path_PKG_CONFIG= | ||
74 | #ac_cv_path_ac_pt_PKG_CONFIG | ||
75 | #ac_cv_path_PKCHECK_PATH= | ||
76 | #ac_cv_path_POLKIT_AUTH= | ||
77 | #ac_cv_path_DTRACE= | ||
78 | #ac_cv_path_ISCSIADM= | ||
79 | #ac_cv_path_MSGFMT= | ||
80 | #ac_cv_path_GMSGFMT= | ||
81 | #ac_cv_path_XGETTEXT= | ||
82 | #ac_cv_path_MSGMERGE= | ||
83 | #ac_cv_path_SCRUB= | ||
84 | #ac_cv_path_PYTHON= | ||
85 | |||
86 | ALLOW_EMPTY_${PN} = "1" | ||
87 | |||
88 | PACKAGES =+ "${PN}-libvirtd ${PN}-virsh" | ||
89 | |||
90 | ALLOW_EMPTY_${PN}-libvirtd = "1" | ||
91 | |||
92 | FILES_${PN}-libvirtd = "${sysconfdir}/init.d \ | ||
93 | ${sysconfdir}/sysctl.d \ | ||
94 | ${sysconfdir}/logrotate.d \ | ||
95 | ${sysconfdir}/libvirt/libvirtd.conf \ | ||
96 | /usr/lib/sysctl.d/libvirtd.conf \ | ||
97 | ${sbindir}/libvirtd" | ||
98 | |||
99 | FILES_${PN}-virsh = "${bindir}/virsh" | ||
100 | FILES_${PN} += "${libdir}/libvirt/connection-driver \ | ||
101 | ${datadir}/augeas \ | ||
102 | ${datadir}/polkit-1" | ||
103 | |||
104 | FILES_${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug ${libdir}/libvirt/lock-driver/.debug" | ||
105 | FILES_${PN}-staticdev += "${libdir}/*.a ${libdir}/libvirt/connection-driver/*.a ${libdir}/libvirt/lock-driver/*.a" | ||
106 | |||
107 | INITSCRIPT_PACKAGES = "${PN}-libvirtd" | ||
108 | INITSCRIPT_NAME_${PN}-libvirtd = "libvirtd" | ||
109 | INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72" | ||
110 | |||
111 | # xen-minimal config | ||
112 | #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" | ||
113 | |||
114 | # full config | ||
115 | PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ | ||
116 | polkit lxc test remote macvtap libvirtd netcf udev python \ | ||
117 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | ||
118 | ebtables" | ||
119 | |||
120 | # enable,disable,depends,rdepends | ||
121 | # | ||
122 | PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu," | ||
123 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" | ||
124 | PACKAGECONFIG[xen] = "--with-xen,--without-xen,xen," | ||
125 | PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,," | ||
126 | PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen," | ||
127 | PACKAGECONFIG[xen-inotify] = "--with-xen-inotify,--without-xen-inotify,xen," | ||
128 | PACKAGECONFIG[uml] = "--with-uml, --without-uml,," | ||
129 | PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz,," | ||
130 | PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware,," | ||
131 | PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp,," | ||
132 | PACKAGECONFIG[vbox] = "--with-vbox,--without-vbox,," | ||
133 | PACKAGECONFIG[esx] = "--with-esx,--without-esx,," | ||
134 | PACKAGECONFIG[hyperv] = "--with-hyperv,--without-hyperv,," | ||
135 | PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit,polkit" | ||
136 | PACKAGECONFIG[lxc] = "--with-lxc,--without-lxc, lxc," | ||
137 | PACKAGECONFIG[test] = "--with-test=yes,--with-test=no,," | ||
138 | PACKAGECONFIG[remote] = "--with-remote,--without-remote,," | ||
139 | PACKAGECONFIG[macvtap] = "--with-macvtap=yes,--with-macvtap=no,libnl,libnl" | ||
140 | PACKAGECONFIG[libvirtd] = "--with-libvirtd,--without-libvirtd,," | ||
141 | PACKAGECONFIG[netcf] = "--with-netcf,--without-netcf,netcf,netcf" | ||
142 | PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,," | ||
143 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," | ||
144 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," | ||
145 | PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables" | ||
146 | |||
147 | # Enable the Python tool support | ||
148 | require libvirt-python.inc | ||
149 | |||
150 | do_install_append() { | ||
151 | install -d ${D}/etc/init.d | ||
152 | install -d ${D}/etc/libvirt | ||
153 | |||
154 | install -m 0755 ${WORKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd | ||
155 | install -m 0644 ${WORKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf | ||
156 | |||
157 | # This will wind up in the libvirtd package, but will NOT be invoked by default. | ||
158 | # | ||
159 | mv ${D}/${libexecdir}/libvirt-guests.sh ${D}/${sysconfdir}/init.d | ||
160 | |||
161 | # The /var/run/libvirt directories created by the Makefile | ||
162 | # are wiped out in volatile, we need to create these at boot. | ||
163 | rm -rf ${D}${localstatedir}/run | ||
164 | install -d ${D}${sysconfdir}/default/volatiles | ||
165 | echo "d root root 0755 ${localstatedir}/run/libvirt none" \ | ||
166 | > ${D}${sysconfdir}/default/volatiles/99_libvirt | ||
167 | echo "d root root 0755 ${localstatedir}/run/libvirt/lockd none" \ | ||
168 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | ||
169 | echo "d root root 0755 ${localstatedir}/run/libvirt/lxc none" \ | ||
170 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | ||
171 | echo "d root root 0755 ${localstatedir}/run/libvirt/network none" \ | ||
172 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | ||
173 | echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \ | ||
174 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | ||
175 | } | ||
176 | |||
177 | pkg_postinst_libvirt() { | ||
178 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | ||
179 | /etc/init.d/populate-volatile.sh update | ||
180 | fi | ||
181 | } | ||
diff --git a/recipes-extended/libvirt/libvirt_1.1.1.bb b/recipes-extended/libvirt/libvirt_1.1.2.bb index aef536da..cfb406dc 100644 --- a/recipes-extended/libvirt/libvirt_1.1.1.bb +++ b/recipes-extended/libvirt/libvirt_1.1.2.bb | |||
@@ -27,8 +27,8 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz \ | |||
27 | file://libvirtd.sh \ | 27 | file://libvirtd.sh \ |
28 | file://libvirtd.conf" | 28 | file://libvirtd.conf" |
29 | 29 | ||
30 | SRC_URI[md5sum] = "632f30a2f22fbb404b8e10702d7f55ca" | 30 | SRC_URI[md5sum] = "1835bbfa492099bce12e2934870e5611" |
31 | SRC_URI[sha256sum] = "dc6f1e1e15b9b190eaa706e76edabcfc94b239c012f5afc22b22357a4b3b22c2" | 31 | SRC_URI[sha256sum] = "16648af54d3e162f5cc5445d970ec29a0bd55b1dbcb568a05533c4c2f25965e3" |
32 | 32 | ||
33 | inherit autotools gettext update-rc.d | 33 | inherit autotools gettext update-rc.d |
34 | 34 | ||