networkmanager: Add PACKAGECONFIG for ovs
PATCH 1/2 networkmanager: Add PACKAGECONFIG for ovs
Open vSwitch support is enabled by default in NetworkManager, but only useful in the context of several virtualisation environments, e.g. Xen, KVM, OpenStack and more. Therefore, the ovs PACKAGECONFIG is now disabled by default.
The jansson dependency is only required for Open vSwitch and teamsdctl support in NetworkManager. As there is no libteamsdctl recipe around (and no teamsdctl PACKAGECONFIG), make it dependent on the ovs PACKAGECONFIG.
--- .../networkmanager/networkmanager_1.28.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1 -1
@@ -15,7 +15,6 @@ DEPENDS = " \ util-linux \ libndp \ libnewt \ - jansson \ curl \ "
@@ -85,6 +84,7 @@ PACKAGECONFIG[wifi] = "--enable-wifi=yes,--enable-wifi=no,,wpa-supplicant" PACKAGECONFIG[ifupdown] = "--enable-ifupdown,--disable-ifupdown" PACKAGECONFIG[qt4-x11-free] = "--enable-qt,--disable-qt,qt4-x11-free" PACKAGECONFIG[cloud-setup] = "--with-nm-cloud-setup=yes,--with-nm-cloud-setup=no" +PACKAGECONFIG[ovs] = "--enable-ovs,--disable-ovs,,jansson" PACKAGES =+ " \ ${PN}-nmcli ${PN}-nmcli-doc \
--
2.30.0
PATCH 2/2 networkmanager: Add Wireless Extensions to PACKAGECONFIG[wifi]
Linux Wireless Extensions (Wext) support is enabled per default in NetworkManager. Having Wext enabled without enabling WiFi support, too, doesn't make much sense. Therefore, instead of creating a separate PACKAGECONFIG flag, 'wext' was added to the already existing 'wifi' flag.
--- .../networkmanager/networkmanager_1.28.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1 -1
@@ -80,7 +80,7 @@ PACKAGECONFIG[dnsmasq] = "--with-dnsmasq=${bindir}/dnsmasq" PACKAGECONFIG[nss] = "--with-crypto=nss,,nss" PACKAGECONFIG[resolvconf] = "--with-resolvconf=${base_sbindir}/resolvconf,,,resolvconf" PACKAGECONFIG[gnutls] = "--with-crypto=gnutls,,gnutls" -PACKAGECONFIG[wifi] = "--enable-wifi=yes,--enable-wifi=no,,wpa-supplicant" +PACKAGECONFIG[wifi] = "--with-wext=yes --enable-wifi=yes,--with-wext=no --enable-wifi=no,,wpa-supplicant" PACKAGECONFIG[ifupdown] = "--enable-ifupdown,--disable-ifupdown" PACKAGECONFIG[qt4-x11-free] = "--enable-qt,--disable-qt,qt4-x11-free" PACKAGECONFIG[cloud-setup] = "--with-nm-cloud-setup=yes,--with-nm-cloud-setup=no"
--
2.30.0
is this ready now ?
Quoted 42 lines · Nicolas Jeker
Open vSwitch support is enabled by default in NetworkManager, but only useful in the context of several virtualisation environments, e.g. Xen, KVM, OpenStack and more. Therefore, the ovs PACKAGECONFIG is now disabled by default.
The jansson dependency is only required for Open vSwitch and teamsdctl support in NetworkManager. As there is no libteamsdctl recipe around (and no teamsdctl PACKAGECONFIG), make it dependent on the ovs PACKAGECONFIG.
Signed-off-by Nicolas Jeker <[email protected]>--- .../networkmanager/networkmanager_1.28.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/networkmanager/networkmanager_1.28.0.bb +1
-2@@ -15,7 +15,6 @@ DEPENDS = " \ util-linux \ libndp \ libnewt \ - jansson \ curl \ "@@ -85,6 +84,7 @@ PACKAGECONFIG[wifi] = "--enable-wifi=yes,--enable-wifi=no,,wpa-supplicant" PACKAGECONFIG[ifupdown] = "--enable-ifupdown,--disable-ifupdown" PACKAGECONFIG[qt4-x11-free] = "--enable-qt,--disable-qt,qt4-x11-free" PACKAGECONFIG[cloud-setup] = "--with-nm-cloud-setup=yes,--with-nm-cloud-setup=no" +PACKAGECONFIG[ovs] = "--enable-ovs,--disable-ovs,,jansson" PACKAGES =+ " \ ${PN}-nmcli ${PN}-nmcli-doc \ --2.30.0