diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2013-06-28 13:26:03 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-06-28 14:08:48 -0400 |
commit | 9fe09ac859dc1371a1a95f219c100d905e6f128d (patch) | |
tree | e83aef5299f4c7ec0bbe6e5d23120016fb4ca5d5 | |
parent | a668e81713c0cf7c25b89beb9837fa83355b130c (diff) | |
download | meta-virtualization-9fe09ac859dc1371a1a95f219c100d905e6f128d.tar.gz |
libvirt: make ebtables a PACKAGECONFIG
This is a bit ugly since ebtables isn't controlled via
--with/--without-PACKAGE but we can achieve the same result using the
cached path variable. Since there are no static hooks into ebtables it
doesn't get picked up via the automatic RDEPENDS so we also ensure
that we add the RDEPENDS explicitly here.
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 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb index fb4b9bb3..0d1d081e 100644 --- a/recipes-extended/libvirt/libvirt_1.0.3.bb +++ b/recipes-extended/libvirt/libvirt_1.0.3.bb | |||
@@ -3,10 +3,10 @@ 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 = "r8" | 6 | PR = "r9" |
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 dnsmasq readline" |
10 | 10 | ||
11 | # These might be included by PACKAGECONFIG | 11 | # These might be included by PACKAGECONFIG |
12 | #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf" | 12 | #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf" |
@@ -113,7 +113,9 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72" | |||
113 | 113 | ||
114 | # full config | 114 | # full config |
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 \ |
117 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | ||
118 | ebtables" | ||
117 | 119 | ||
118 | # enable,disable,depends,rdepends | 120 | # enable,disable,depends,rdepends |
119 | # | 121 | # |
@@ -140,6 +142,8 @@ PACKAGECONFIG[netcf] = "--with-netcf,--without-netcf,netcf,netcf" | |||
140 | PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,," | 142 | PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,," |
141 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," | 143 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," |
142 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," | 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 | |||
143 | # Enable the Python tool support | 147 | # Enable the Python tool support |
144 | require libvirt-python.inc | 148 | require libvirt-python.inc |
145 | 149 | ||