summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/networkmanager
Commit message (Collapse)AuthorAgeFilesLines
* networkmanager-openvpn: upgrade 1.8.12 -> 1.8.14zhengruoqin2021-04-031-2/+2
| | | | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 30a80664e38912d3532cfab5291e468191507625) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* networkmanager: Add PACKAGECONFIG for ovsNicolas Jeker2021-01-281-1/+1
| | | | | | | | | | | | | | | 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 <n.jeker@gmx.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: add missing readline dependsAdrian2021-01-271-2/+6
| | | | | | | | Introduce PACKAGECONFIG[nmcli] to make building the nmcli utility which depends on GPLv3 licensed readline library optional. Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Add Wireless Extensions to PACKAGECONFIG[wifi]Nicolas Jeker2021-01-271-1/+1
| | | | | | | | | | | 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. Signed-off-by: Nicolas Jeker <n.jeker@gmx.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: upgrade 1.22.14 -> 1.28.0Andreas Müller2021-01-218-108/+65
| | | | | | | | | | | | | * Build tested on aarch64 glibc/musl * 0003-Fix-build-with-musl-for-n-dhcp4.patch has to go. Grepped nm code for seed48_r / mrand48_r => no findings * Since this is a huge version bump no detaile release notes are provided here * Have tried to move to meson build few months ago but it turned into huge efforts and ended without success. Maybe situation changed but let's postpone for now Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Fix reallocarray check in meson and configureKhem Raj2020-12-122-0/+28
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: remove PACKAGECONFIG[dhclient]Yi Zhao2020-10-141-3/+5
| | | | | | | | | | | | | The dhcp-client has been removed from oe-core and the current networkmanager does not support dhcpcd >= 9.0 (See bug report: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/410) Remove the PACKAGECONFIG[dhclient] and pass --with-dhclient/dhcpcd=no explicitly to EXTRA_OECONF. Otherwise it will search the host path when configure. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Depend on dhcpcdKhem Raj2020-09-011-1/+1
| | | | | | dhcp-client is being removed from oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Fix udev dependencyChristian Eggers2020-07-201-1/+1
| | | | | | | NetworkManager depends on libudev, but not on libgudev. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Package nmcli separatelyChristian Eggers2020-07-201-0/+9
| | | | | | | nmcli depends on libreadline which is licensed under GPLv3. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: fix Files/directories were installed but not shippedHongxu Jia2020-07-072-0/+31
| | | | | | | | | | | | | | | Since networkmanager: upgrade 1.22.10 -> 1.22.14, it added a new build option 'firewalld-zone', while enabling multilib, there is a QA issue ... ERROR: QA Issue: networkmanager: Files/directories were installed but not shipped in any package: /usr/lib/firewalld /usr/lib/firewalld/zones /usr/lib/firewalld/zones/nm-shared.xml ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: upgrade 1.22.10 -> 1.22.14Andreas Müller2020-06-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ================================================ NetworkManager-1.22.14 Overview of changes since NetworkManager-1.22.12 ================================================ This is a new stable release of NetworkManager. Notable changes include: * ifcfg-rh: handle "802-1x.{,phase2-}ca-path". Otherwise setting this property silently fails and a profile might accidentally not perform any authentication (CVE-2020-10754). * ifcfg-rh: handle 802-1x.pin properties. ================================================ NetworkManager-1.22.12 Overview of changes since NetworkManager-1.22.10 ================================================ This is a new stable release of NetworkManager. Notable changes include: * Fix a bug preventing lease renewal in the internal DHCP client. * Add a new build option 'firewalld-zone'; when enabled, NetworkManager installs a firewalld zone for connection sharing and puts interfaces using IPv4 or IPv6 shared mode in this zone during activation. The option is enabled by default. Note that NetworkManager still calls to iptables to enable masquerading and open needed ports for DHCP and DNS. The new option is useful on systems using firewalld with the nftables backend, where the iptables rules would not be sufficient. * Support changing the MTU of OVS interfaces. * Better handle a restart of ovsdb process. * Support the 'no-reload' and 'trust-ad' resolv.conf options. * Various minor bug fixes and improvements. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager-openvpn: Make PACKAGECONFIG gnome workAndreas Müller2020-03-181-1/+12
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager-openvpn: upgrade 1.8.10 -> 1.8.12Andreas Müller2020-03-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | >From [1]: ======================================================= NetworkManager-openvpn-1.8.12 Overview of changes since NetworkManager-openvpn-1.8.10 ======================================================= * The auth helper in external UI mode can now be run without a display server. Future nmcli version will utilize this for handling the secrets without a graphical desktop. * libnm-glib compatibility (NetworkManager < 1.0) is disabled by default. It can be enabled by passing --with-libnm-glib to configure script. Nobody should need it by now. Users that still use this are encouraged to let us know before the libnm-glib support is removed for good. * Add support for the following OpenVPN options: tls-version-min, tls-version-max, compress. * Support inline CRL blobs during import. * Allow option mssfix to be set to zero. * Update Catalan, Czech, Danish, Dutch, Friulian, Hungarian, Indonesian, Italian, Polish, Serbian, Spanish, Swedish and Ukrainian translations. [1] http://ftp.gnome.org/pub/gnome/sources/NetworkManager-openvpn/1.8/NetworkManager-openvpn-1.8.12.news Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Upgrade 1.22.8 -> 1.22.10Adrian Bunk2020-03-181-2/+1
| | | | | | | Upgrade on the 1.22 stable branch. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Upgrade 1.18.4 -> 1.22.8Adrian2020-03-087-57/+159
| | | | | | | | | | | | | - rebased patches - added two more small patches - Option --enable-polkit-agent is not available with current NM, removed - Option --with-libnm-glib is not available with current NM, removed - New package NM-cloud-setup for new experimental cloud setup feature - NM tries to re-license from GPL to LGPL, added LGPL to LICENSES - Removed empty packages libnmutil libnmglib libnmglib-vpn Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: do not deploy unnecessary udev rule fileStefan Agner2019-11-201-1/+4
| | | | | | | | | | | | | | | | | The 84-nm-drivers.rules is not required for systemd-udevd versions v210 and later. The file has been split into a separate file so distributions with a new enough systemd version can drop it. See also: https://github.com/NetworkManager/NetworkManager/commit/1e0375826252abf9aab2aef273a2a24cd08c9f42 I noticed this while investigating into a warning show during bootup: /usr/lib/udev/rules.d/84-nm-drivers.rules:10 Invalid value "/bin/sh -c 'ethtool -i $1 | sed -n s/^driver:\ //p' -- $env{INTERFACE}" for PROGRAM (char 24: invalid substitution type), ignoring, but please fix it. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Upgrade 1.18.2 -> 1.18.4Adrian Bunk2019-10-161-2/+2
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Correct the upstream version checkAdrian Bunk2019-09-301-4/+1
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Add sysvinit supportOtavio Salvador2019-09-302-1/+115
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Add a `resolvconf` PACKAGECONFIGOtavio Salvador2019-09-301-0/+1
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Fix ADSL plugin packagingOtavio Salvador2019-09-301-1/+1
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Upgrade 1.18.0 -> 1.18.2Adrian Bunk2019-08-211-3/+2
| | | | | | | Remove a generated file with always changing hash from LIC_FILES_CHKSUM. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: musl now supports secure_getenvAdrian Bunk2019-08-181-9/+0
| | | | | | | | It is no longer necessary to introduce a potential security vulnerability for fixing the musl build. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: fix typo in nonarch_base_libdirLaszlo Toth2019-08-111-1/+1
| | | | | Signed-off-by: Laszlo Toth <laszlth@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Use ALTERNATIVES for resolv-conf handling.Drew Moseley2019-07-211-1/+11
| | | | | | | | This brings the networkmanager in sync with how systemd-resolved and connman work. Additionally this allows it to function with a read-only rootFS. Signed-off-by: Drew Moseley <drew.moseley@northern.tech> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Drop bluez4 supportAdrian Bunk2019-07-101-2/+2
| | | | | | | bluez4 was removed from meta-oe 2 years ago. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Update to 1.18.0Andrei Gherzan2019-05-294-118/+70
| | | | | | | | | | | One patch was dropped (0003-dlopen-failure.patch) as a similar one was merged upstream. See: https://github.com/NetworkManager/NetworkManager/commit/bd4957fcd78a0e64d26459e94ab3b84c91cd6f5f Refreshed musl patches as well. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager-openvpn: update to 1.8.10Oleksandr Kravchuk2019-04-291-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: rework musl buildAndreas Müller2019-04-113-192/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | patches: * Split out systemd specifics * Simplfy patch to fix musl / linux-libc definition conflicts. This makes future maintenance less pain and fixes build for recipes depending on networkmanager. For further background read patch description in 0002-Fix-build-with-musl.patch musl CFLAGS: * -D__USE_POSIX199309 removed - could not find any trace of it * CFLAGS_libc-musl_append -> CFLAGS_append_libc-musl gobject-introspection: * enable - it builds perfectly fine Build tested (musl/glibc) with all dependents found in my layers: * network-manager-applet * networkmanager-openvpn * python-networkmanager * networkmanager-qt * plasma-nm * liri-networkmanager Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Fix build with clangKhem Raj2019-04-063-13/+35
| | | | | | | | | | | | | | | | | | Detecting libdl for dlopen when failed returns "none required", which then gets added to linker commandline and inturn fails to link with errors obviously because "-lnone required" is no such library. This patch is not musl dependent, earlier patches clubbed it into musl patch however this is needed with clang too regardless of the C library the reason is clang automatically brings in libdl in OE and hence this test is failing. This is noop with gcc since the first check will pass thats why it works in first place Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* networkmanager: fix build with muslAndreas Müller2019-04-0610-439/+366
| | | | | | | | * Cleanup patches * Apply musl-hacks only for musl Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Fix upstream regex for 1.16Andreas Müller2019-04-061-1/+1
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: upgrade 1.14.4 -> 1.16.0Andreas Müller2019-03-2211-139/+119
| | | | | | | | | | | | | | | * license.html was checked: it is still GPLv2. Could not find what changed the checksum. Maybe it was generated with a different version of gtk-doc. * Build tested with just gnutls in PACKAGECONFIG to test nss alternative (and setting no crypto won't work) * Build tested with all entries except gnutls/qt4-x11-free (yes they still support it!) in PACKAGECONFIG * By far the most time was spent on musl patch adjustment. They apply cleanly but musl build was not tested due to limited resources. * Fix build for non systemd by making SYSTEMD_SERVICE conditional Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: fix QA issue when using modemmanager and ppp in PACKAGECONFIGMarc Ferland2019-02-011-0/+1
| | | | | | | | | | | | Got the following error when I activated both ppp and modemmanager options: ERROR: networkmanager-1.14.4-r0 do_package: QA Issue: networkmanager: Files/directories were installed but not shipped in any package: /usr/lib/pppd/2.4.5/nm-pppd-plugin.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: introduce polkit package configStefan Agner2019-01-201-4/+3
| | | | | | | | | | | | Currently polkit is enabled if systemd is in package config. Those two things are orthogonal: NetworkManager can be used with systemd and without polkit just fine. Introduce a new polkit package config and enable it depending on whether polkit is in DISTRO_FEATURES. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: move udev-rules from /usr/lib -> /libAndreas Müller2018-12-021-1/+2
| | | | | | | | Seems udev-rules in /usr/lib are ignored: systemd-analayse reported >3min! for system startup time! Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: package additional .la filesMark Asselstine2018-11-131-0/+1
| | | | | | | | | | | | | | | | | | This fixes: ERROR: networkmanager-1.14.4-r0 do_package: QA Issue: networkmanager: Files/directories were installed but not shipped in any package: /usr/lib64/NetworkManager/1.14.4/libnm-settings-plugin-ifupdown.la /usr/lib64/NetworkManager/1.14.4/libnm-device-plugin-adsl.la /usr/lib64/NetworkManager/1.14.4/libnm-device-plugin-wifi.la /usr/lib64/NetworkManager/1.14.4/libnm-device-plugin-ovs.la Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. networkmanager: 4 installed and not shipped files. [installed-vs-shipped] As with similar changes in the past, if the distro makes use of 'remove-libtool' this issue is not seen but we should add .la files to the -dev package when they do exist. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: Fix build with muslKhem Raj2018-11-072-0/+54
| | | | | | | Remove redundant header includes Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* networkmanager: upgrade 1.10.10 -> 1.14.4Andreas Müller2018-11-0210-85/+82
| | | | | | | | | | | | | | | | * License checksum: copyright year changed * packageconfig glib: with this version (udev-)glib support hase to be enabled explicitly. Split this out to meta-gnome where network-manager-applet lives. * packageconfig netconfig: This was nonsense: netconfig is a SUSE tool [1] which is not found in layer index. The error was detected now because configuration checks for presence of netconfig. * --disable-ifnet and --disable-ifcfg-suse are gone * musl patches were aligned but have no resources to test them [1] https://github.com/openSUSE/sysconfig Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager-openvpn: upgrade 1.2.8 -> 1.2.10Yi Zhao2018-07-031-2/+3
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* NetworkManager: upgrade 1.10.6 -> 1.10.10Yi Zhao2018-07-031-3/+6
| | | | | | | License-Update: update GTK-Doc from 1.27 to 1.28 to generate license.html Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager: remove wireless-tools dependencyAlexander Kanavin2018-05-261-1/+1
| | | | | | | | NM hasn't used this for many years, and wireless-tools are being removed from oe-core, having been obsolete for about that long as well. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* networkmanager-openvpn: fix QA issue error for multilibYi Zhao2018-05-171-1/+1
| | | | | | | | | | | | | | When enable multilib build, there is a QA Issue error: ERROR: networkmanager-openvpn-1.2.8-r0 do_package: QA Issue: networkmanager-openvpn: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/NetworkManager /usr/lib/NetworkManager/VPN /usr/lib/NetworkManager/VPN/nm-openvpn-service.name Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. networkmanager-openvpn: 4 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* networkmanager: fix QA issue error for multilibYi Zhao2018-05-171-2/+2
| | | | | | | | | | | | | When enable multilib build, there is a QA Issue error: ERROR: networkmanager-1.10.6-r0 do_package: QA Issue: networkmanager: Files/directories were installed but not shipped in any package: /usr/lib/NetworkManager /usr/lib/NetworkManager/VPN /usr/lib/NetworkManager/conf.d Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. networkmanager: 3 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* networkmanager: fix prevous commitsAndreas Müller2018-05-013-4/+134
| | | | | | | | | | | | | | | | | | | | | | | | The wrong patches were applied: commit c5a04600817e0d34dfa151d46073a76b506b4c3d Author: Armin Kuster <akuster808@gmail.com> Date: Fri Mar 30 19:56:03 2018 -0700 networkmanager: Fix many typos in DISTRO_FEATURES PACKAGECONFIG decodes commit 575c14ded56e1e97582a6df0921d19b4da630961 Author: Andreas Müller <schnitzeltony@gmail.com> Date: Thu Mar 22 18:40:52 2018 +0100 networkmanager: fix gobject-introspection/musl and cleanup * musl fixed (tested) * PACKAGECONFIG systemd: Logic was broken by c5a046. To avoid further confusion, the expression was put into one line. * PACKAGECONFIG wifi: The expression 'bb.utils.filter.. ' was perfectly fine. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* networkmanager: Fix many typos in DISTRO_FEATURES PACKAGECONFIG decodesArmin Kuster2018-04-251-3/+4
| | | | | | | | | | | | | | | | | fixes issues found with yocto-check-layer File "/home/akuster/oss/maint/openembedded-core/bitbake/lib/bb/data_smart.py", line 436, in DataSmart.expand(s="nss ifupdown netconfig dhclient dnsmasq ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', '', d)} ", varname='PACKAGECONFIG'): def expand(self, s, varname = None): > return self.expandWithRefs(s, varname).value File "/home/akuster/oss/maint/openembedded-core/bitbake/lib/bb/data_smart.py", line 426, in DataSmart.expandWithRefs(s="nss ifupdown netconfig dhclient dnsmasq ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', '', d)} ", varname='PACKAGECONFIG'): except Exception as exc: > raise ExpansionError(varname, s, exc) from exc bb.data_smart.ExpansionError: Failure expanding variable PACKAGECONFIG, expression was nss ifupdown netconfig dhclient dnsmasq ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', '', d)} which triggered exception TypeError: contains() missing 1 required positional argument: 'd' Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* networkmanager: fix gobject-introspection/musl and cleanupAndreas Müller2018-04-2513-329/+317
| | | | | | | | | | | | | | | | | | | | This adresses the comments for recent patch which updated nm to 1.10.6 and is a follow-up for [1]. * Make gobject-introspection work by skipping creation of gobject-introspection specific documentation. This fixes networkmanager-applet regression. * Cleanup patches: Remove current musl patches completely and re-use those found in void-linux because they do look much cleaner and don't touch glibc build. One nice side effect: In the future when nm is updated we can steal again and don't need to reenvent here. Usually they are much faster than we are (and I know one major contibutor personally from the good old Z80 times..) * Fix typo in PACKAGECONFIG [1] https://patchwork.openembedded.org/patch/149244/ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* networkmanager upgrade to 1.10.6Pablo Saavedra2018-04-0914-930/+119
| | | | | | | | | | | | | | | | | * Upgraded to latest stable version [1] * Forward-port of the Yocto patches * Disabled 0004-Define-missing-features-to-cater-for-musl.patch * This version keeps fixed 'Fixed setting 802-1x.password-raw property in nmcli' error. Fixed on 1.6.4 [2]. References: [1] https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?h=nm-1-10 [2] https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?h=1.6.4#n11 Signed-off-by: Pablo Saavedra <psaavedra@igalia.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* networkmanager: add consolekit only when x11 is enabledJackie Huang2018-01-081-1/+2
| | | | | | | | | | consolekit depends on virtual/libx11 then it requires x11 distro feature, so add consolekit option only when x11 is in DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>