summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Shi <yang.shi@windriver.com>2013-11-19 09:40:09 -0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-11-19 23:29:57 -0500
commitab69477f9d8028b495c57816277be5b3bff71efb (patch)
tree895cd2db1a034d3acb6ed7b5bc108237b623aeba
parent6e915099cc1d6f81fb7aee82dc69a290a3eb777c (diff)
downloadmeta-virtualization-ab69477f9d8028b495c57816277be5b3bff71efb.tar.gz
libvirt: Correct IP_PATH
ip is installed into /sbin/ip, but the default path used by libvirt is /bin/ip, so override IP_PATH in configure. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/libvirt/libvirt_1.1.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.1.2.bb b/recipes-extended/libvirt/libvirt_1.1.2.bb
index 4bdade8d..598d7ef2 100644
--- a/recipes-extended/libvirt/libvirt_1.1.2.bb
+++ b/recipes-extended/libvirt/libvirt_1.1.2.bb
@@ -117,7 +117,7 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72"
117#PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" 117#PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd"
118 118
119# full config 119# full config
120PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ 120PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx iproute2 \
121 polkit lxc test remote macvtap libvirtd netcf udev python ebtables \ 121 polkit lxc test remote macvtap libvirtd netcf udev python ebtables \
122 {@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ 122 {@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
123 " 123 "
@@ -150,6 +150,7 @@ PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
150PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables" 150PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables"
151PACKAGECONFIG[python] = "--with-python,--without-python,python," 151PACKAGECONFIG[python] = "--with-python,--without-python,python,"
152PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl" 152PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
153PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"
153 154
154# Enable the Python tool support 155# Enable the Python tool support
155require libvirt-python.inc 156require libvirt-python.inc