[meta-virtualization] [PATCH] libvirt: Correct IP_PATH

Yang Shi yang.shi at windriver.com
Tue Nov 19 09:40:09 PST 2013


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 at windriver.com>
---
 recipes-extended/libvirt/libvirt_1.1.2.bb |    3 ++-
 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 4bdade8..598d7ef 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"
 #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd"
 
 # full config
-PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \
+PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx iproute2 \
                    polkit lxc test remote macvtap libvirtd netcf udev python ebtables \
                    {@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
                   "
@@ -150,6 +150,7 @@ PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
 PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables"
 PACKAGECONFIG[python] = "--with-python,--without-python,python,"
 PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
+PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"
 
 # Enable the Python tool support
 require libvirt-python.inc
-- 
1.7.5.4



More information about the meta-virtualization mailing list