Skip to contentSkip to conversation

libvirt: force use of libssh2

PATCH In review Joe Slater 2 participants 2 messages May 5, 2014 – May 6, 2014

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 libvirt: force use of libssh2

We add a PACKAGECONFIG[] to deterministically build with or without libssh2 and add ssh2 to PACKAGECONFIG, so we will always use it.

---
 recipes-extended/libvirt/libvirt_1.2.2.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes-extended/libvirt/libvirt_1.2.2.bb +2 -0
index a66a6ad..eaa880c 100644
@@ -134,6 +134,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
 # full config
 PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
                    remote macvtap libvirtd netcf udev python ebtables \
+                   ssh2 \
                    ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
@@ -169,6 +170,7 @@ PACKAGECONFIG[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"
 PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
+PACKAGECONFIG[ssh2] = "--with-ssh2,--without-ssh2,libssh2,"
 
 # Enable the Python tool support
 require libvirt-python.inc
Signature · 1 line
1.7.3.4
#1 lore raw

Thanks Joe. I've queued both the libvirt changes. If no one objects, I'll push thenm
in the morning.

Bruce

Quoted 37 lines · Joe Slater

We add a PACKAGECONFIG[] to deterministically build with or without libssh2 and add ssh2 to PACKAGECONFIG, so we will always use it.

---
 recipes-extended/libvirt/libvirt_1.2.2.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes-extended/libvirt/libvirt_1.2.2.bb +2 -1
index a66a6ad..eaa880c 100644
@@ -134,6 +134,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
 # full config
 PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
                    remote macvtap libvirtd netcf udev python ebtables \
+                   ssh2 \
                    ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
@@ -169,6 +170,7 @@ PACKAGECONFIG[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"
 PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
+PACKAGECONFIG[ssh2] = "--with-ssh2,--without-ssh2,libssh2,"
 
 # Enable the Python tool support
 require libvirt-python.inc
--

1.7.3.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"