Skip to contentSkip to conversation

libvirt: Correct IP_PATH

PATCH In review Yang Shi 2 participants 2 messages Nov 19, 2013 – Nov 20, 2013

lore
Share & tools
lore

Yang Shi

author
#0 lore raw

PATCH 1/1 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.

---
 recipes-extended/libvirt/libvirt_1.1.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-extended/libvirt/libvirt_1.1.2.bb +2 -1
index 4bdade8..598d7ef 100644
@@ -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
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 2 lines · Yang Shi

ip is installed into /sbin/ip, but the default path used by libvirt is /bin/ip, so override IP_PATH in configure.

Merged. Thanks Yang.

Bruce

Quoted 28 lines
---
  recipes-extended/libvirt/libvirt_1.1.2.bb |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)
recipes-extended/libvirt/libvirt_1.1.2.bb +2 -1
index 4bdade8..598d7ef 100644
@@ -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