Skip to contentSkip to conversation

openvswitch: add libcap-ng PACKAGECONFIG

PATCH In review Chen Qi 2 participants 2 messages Aug 16, 2017 – Aug 17, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 openvswitch: add libcap-ng PACKAGECONFIG

Add PACKAGECONFIG for libcap-ng, and default to enable it.

---
 recipes-networking/openvswitch/openvswitch_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch_git.bb +2 -1
index 35f4ba8..b4aab35 100644
@@ -50,8 +50,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=17b2c9d4c70853a09c0e143137754b35"
 
 DPDK_INSTALL_DIR ?= "/opt/dpdk"
 
-PACKAGECONFIG ?= ""
+PACKAGECONFIG ?= "libcap-ng"
 PACKAGECONFIG[dpdk] = "--with-dpdk=${STAGING_DIR_TARGET}${DPDK_INSTALL_DIR}/share/${TARGET_ARCH}-native-linuxapp-gcc,,dpdk,dpdk"
+PACKAGECONFIG[libcap-ng] = "--enable-libcapng,--disable-libcapng,libcap-ng,"
 
 # Don't compile kernel modules by default since it heavily depends on
 # kernel version. Use the in-kernel module for now.
Signature · 1 line
2.11.0
#1 lore raw

merged.

Bruce

Quoted 36 lines · Chen Qi

Add PACKAGECONFIG for libcap-ng, and default to enable it.

---
 recipes-networking/openvswitch/openvswitch_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch_git.bb +0 -0
index 35f4ba8..b4aab35 100644
@@ -50,8 +50,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=

17b2c9d4c70853a09c0e143137754b35"

DPDK_INSTALL_DIR ?= "/opt/dpdk"

recipes-networking/openvswitch/openvswitch_git.bb +1 -1
-PACKAGECONFIG ?= ""
+PACKAGECONFIG ?= "libcap-ng"
 PACKAGECONFIG[dpdk] = "--with-dpdk=${STAGING_DIR_

TARGET}${DPDK_INSTALL_DIR}/share/${TARGET_ARCH}-native- linuxapp-gcc,,dpdk,dpdk" +PACKAGECONFIG[libcap-ng] = "--enable-libcapng,--disable- libcapng,libcap-ng,"

# Don't compile kernel modules by default since it heavily depends on

 # kernel version. Use the in-kernel module for now.
--
2.11.0

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