diff options
author | Joe Slater <jslater@windriver.com> | 2013-06-28 13:26:02 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-06-28 14:08:40 -0400 |
commit | a668e81713c0cf7c25b89beb9837fa83355b130c (patch) | |
tree | 1b50338011ebfe6ac54c62dc55b4f1dbb797eb0e | |
parent | 422934f846ec908adcf7ef4d191338c851372dc8 (diff) | |
download | meta-virtualization-a668e81713c0cf7c25b89beb9837fa83355b130c.tar.gz |
libvirt: use 4 fields for PACKAGECONFIG[]
As per the PACKAGECONFIG documentation "You can omit any argument you
like but must retain the separating commas".
If we do not retain the separating commas, we might get parsing
errors, or, worse, we will think we depend on many items that we do
not enable.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.0.3.bb | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb index 845baf5a..fb4b9bb3 100644 --- a/recipes-extended/libvirt/libvirt_1.0.3.bb +++ b/recipes-extended/libvirt/libvirt_1.0.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org" | |||
3 | LICENSE = "GPLv2+" | 3 | LICENSE = "GPLv2+" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f" |
5 | SECTION = "console/tools" | 5 | SECTION = "console/tools" |
6 | PR = "r7" | 6 | PR = "r8" |
7 | 7 | ||
8 | DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \ | 8 | DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \ |
9 | iptables ebtables dnsmasq readline" | 9 | iptables ebtables dnsmasq readline" |
@@ -115,29 +115,31 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72" | |||
115 | PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ | 115 | PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ |
116 | polkit lxc test remote macvtap libvirtd netcf udev python ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | 116 | polkit lxc test remote macvtap libvirtd netcf udev python ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" |
117 | 117 | ||
118 | PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu" | 118 | # enable,disable,depends,rdepends |
119 | # | ||
120 | PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu," | ||
119 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" | 121 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" |
120 | PACKAGECONFIG[xen] = "--with-xen,--without-xen,xen" | 122 | PACKAGECONFIG[xen] = "--with-xen,--without-xen,xen," |
121 | PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi" | 123 | PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,," |
122 | PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen" | 124 | PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen," |
123 | PACKAGECONFIG[xen-inotify] = "--with-xen-inotify,--without-xen-inotify,xen" | 125 | PACKAGECONFIG[xen-inotify] = "--with-xen-inotify,--without-xen-inotify,xen," |
124 | PACKAGECONFIG[uml] = "--with-uml, --without-uml" | 126 | PACKAGECONFIG[uml] = "--with-uml, --without-uml,," |
125 | PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz" | 127 | PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz,," |
126 | PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware" | 128 | PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware,," |
127 | PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp" | 129 | PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp,," |
128 | PACKAGECONFIG[vbox] = "--with-vbox,--without-vbox" | 130 | PACKAGECONFIG[vbox] = "--with-vbox,--without-vbox,," |
129 | PACKAGECONFIG[esx] = "--with-esx,--without-esx" | 131 | PACKAGECONFIG[esx] = "--with-esx,--without-esx,," |
130 | PACKAGECONFIG[hyperv] = "--with-hyperv,--without-hyperv" | 132 | PACKAGECONFIG[hyperv] = "--with-hyperv,--without-hyperv,," |
131 | PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit,polkit" | 133 | PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit,polkit" |
132 | PACKAGECONFIG[lxc] = "--with-lxc,--without-lxc, lxc" | 134 | PACKAGECONFIG[lxc] = "--with-lxc,--without-lxc, lxc," |
133 | PACKAGECONFIG[test] = "--with-test=yes,--with-test=no" | 135 | PACKAGECONFIG[test] = "--with-test=yes,--with-test=no,," |
134 | PACKAGECONFIG[remote] = "--with-remote,--without-remote" | 136 | PACKAGECONFIG[remote] = "--with-remote,--without-remote,," |
135 | PACKAGECONFIG[macvtap] = "--with-macvtap=yes,--with-macvtap=no,libnl,libnl" | 137 | PACKAGECONFIG[macvtap] = "--with-macvtap=yes,--with-macvtap=no,libnl,libnl" |
136 | PACKAGECONFIG[libvirtd] = "--with-libvirtd,--without-libvirtd" | 138 | PACKAGECONFIG[libvirtd] = "--with-libvirtd,--without-libvirtd,," |
137 | PACKAGECONFIG[netcf] = "--with-netcf,--without-netcf,netcf,netcf" | 139 | PACKAGECONFIG[netcf] = "--with-netcf,--without-netcf,netcf,netcf" |
138 | PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,," | 140 | PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,," |
139 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," | 141 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," |
140 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" | 142 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," |
141 | # Enable the Python tool support | 143 | # Enable the Python tool support |
142 | require libvirt-python.inc | 144 | require libvirt-python.inc |
143 | 145 | ||