All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libvirt: Correct IP_PATH
@ 2013-11-19 17:40 Yang Shi
  2013-11-20  4:31 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Shi @ 2013-11-19 17:40 UTC (permalink / raw)
  To: bruce.ashfield, meta-virtualization; +Cc: yang.shi

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>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libvirt: Correct IP_PATH
  2013-11-19 17:40 [PATCH] libvirt: Correct IP_PATH Yang Shi
@ 2013-11-20  4:31 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2013-11-20  4:31 UTC (permalink / raw)
  To: Yang Shi, meta-virtualization

On 11/19/2013, 12:40 PM, Yang Shi wrote:
> 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

>
> Signed-off-by: Yang Shi <yang.shi@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
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-20  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 17:40 [PATCH] libvirt: Correct IP_PATH Yang Shi
2013-11-20  4:31 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.