diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2022-08-29 21:47:29 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-29 13:07:18 -0700 |
commit | 9e4d107f6a70564f284c7acd7545738d0a194dd3 (patch) | |
tree | 3035882322367a1b65d010872b874efe36ae03bf | |
parent | a755af4fb5ca2e158b00214bb18e27ba69c200fd (diff) | |
download | meta-openembedded-9e4d107f6a70564f284c7acd7545738d0a194dd3.tar.gz |
networkmanager: update 1.38.0 -> 1.40.0
NetworkManager:
* Drop unused, internal systemd DHCPv4 client. This is long
replaced by nettools' n-dhcp4 implementation.
* The nmcli command now supports --offline argument with "add" and
"modify" commands, allowing operation on keyfile-formatted connection
profiles without the service running (e.g. during system provisioning).
* The device state file /run/NetworkManager/devices/$ifindex now has
new sections [dhcp4] and [dhcp6] containing the DHCP options for the
current lease.
* Add multipath TCP (MPTCP) support. NetworkManager can now configure IP addresses
as MPTCP endpoints. This is configurable via the "connection.mptcp-flags"
property. The default setting is such that MPTCP handling is automatically
enabled if the kernel sysctl "/proc/sys/net/mptcp/enabled" indicates so.
NetworkManager does not enable the MPTCP sysctl or adjust the limits (ip mptcp limits).
The administrator or the distribution is supposed to configure the desired system
settings.
Note that strict reverse path filtering (rp_filter) breaks many MPTCP use cases.
With MPTCP handling enabled, NetworkManager will relax a strict (1) rp_filter
to loose (2). Otherwise rp_filter is untouched by NetworkManager.
* NetworkManager expanded log messages for invalid DHCP options.
* Fix the requirement of hardware address for DHCPv6, by dropping it.
* Increase the PMK lifetime for Wi-Fi connections using WPA-EAP.
* "nmcli networking off" now waits for deactivations to complete.
* Improve the appearance of nm-settings-nmcli man page by preserving
paragraphs.
* Support enabling ipv4ll alongside DHCPv4 and static addressing.
* Support configuring "ipv6.mtu".
* Honor "nm.debug" kernel command line to enable debug logging of
NetworkManager.
* NetworkManager reads the kernel command line "/proc/cmdline" for several
purposes, including "nm.debug" for enabling debugging and the
"match.kernel-command-line" setting in the profile. NetworkManager now
first looks now for "/run/NetworkManager/proc-cmdline", which allows to
overwrite the command line.
* Improve the reapply of non-bridge properties.
* Honor adding a Bluetooth NAP connection with all available methods.
* Improve carrier detection.
* During the build, stop relying on intltool for i18n and use gettext only.
* Undeprecate nm_remote_connection_get_secrets() in libnm.
* NetworkManager now will restart DHCP if the MAC changes on a device.
* Several internal improvements.
Recipe:
* Drop the last patch :-). -Difcfg_rh=false is now honored and the
distro detection patch is no longer needed.
* Fix: move /etc/resolv-conf.NetworkManager to daemon package
* Fix: remove ppp rdepends from daemon. The ppp plugin rdepends on ppp.
* ifupdown plugin requires now bash not sh. But the ifupdown is an
optional plugin anyway.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-do-not-ask-host-for-ifcfg-defaults.patch | 24 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.38.0.bb) | 12 |
2 files changed, 8 insertions, 28 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-do-not-ask-host-for-ifcfg-defaults.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-do-not-ask-host-for-ifcfg-defaults.patch deleted file mode 100644 index 92b129320..000000000 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0001-do-not-ask-host-for-ifcfg-defaults.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From 37559b659e22886d5f55837d4f167ba5fda73e85 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Freihofer <adrian.freihofer@siemens.com> | ||
3 | Date: Sun, 29 Aug 2021 15:50:35 +0200 | ||
4 | Subject: [PATCH] do-not-ask-host-for-ifcfg-defaults | ||
5 | |||
6 | --- | ||
7 | meson.build | 4 ++-- | ||
8 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
9 | |||
10 | diff --git a/meson.build b/meson.build | ||
11 | index d0cec83..289aa1b 100644 | ||
12 | --- a/meson.build | ||
13 | +++ b/meson.build | ||
14 | @@ -304,8 +304,8 @@ else | ||
15 | distro = 'unknown' | ||
16 | endif | ||
17 | |||
18 | -enable_ifcfg_rh = get_option('ifcfg_rh') or (distro == 'redhat') | ||
19 | -enable_ifupdown = get_option('ifupdown') or (distro == 'debian') | ||
20 | +enable_ifcfg_rh = get_option('ifcfg_rh') | ||
21 | +enable_ifupdown = get_option('ifupdown') | ||
22 | |||
23 | config_plugins_default = get_option('config_plugins_default') | ||
24 | config_h.set_quoted('NM_CONFIG_DEFAULT_MAIN_PLUGINS', config_plugins_default) | ||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.38.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb index ebd25a8f8..10241e12a 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.38.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb | |||
@@ -29,9 +29,8 @@ SRC_URI = " \ | |||
29 | file://${BPN}.initd \ | 29 | file://${BPN}.initd \ |
30 | file://enable-dhcpcd.conf \ | 30 | file://enable-dhcpcd.conf \ |
31 | file://enable-iwd.conf \ | 31 | file://enable-iwd.conf \ |
32 | file://0001-do-not-ask-host-for-ifcfg-defaults.patch \ | ||
33 | " | 32 | " |
34 | SRC_URI[sha256sum] = "82a4cf07ddfeb0816787b67c0f5058ae6c50d6259c0b0541a24e35156062b2ef" | 33 | SRC_URI[sha256sum] = "aee7e057bc2cca5dab84e41f15f1da8b795eb290747b04cbeee822bad9e9fc03" |
35 | 34 | ||
36 | S = "${WORKDIR}/NetworkManager-${PV}" | 35 | S = "${WORKDIR}/NetworkManager-${PV}" |
37 | 36 | ||
@@ -88,7 +87,7 @@ PACKAGECONFIG[bluez5] = "-Dbluez5_dun=true,-Dbluez5_dun=false,bluez5" | |||
88 | # consolekit is not picked by shlibs, so add it to RDEPENDS too | 87 | # consolekit is not picked by shlibs, so add it to RDEPENDS too |
89 | PACKAGECONFIG[consolekit] = "-Dsession_tracking_consolekit=true,-Dsession_tracking_consolekit=false,consolekit,consolekit" | 88 | PACKAGECONFIG[consolekit] = "-Dsession_tracking_consolekit=true,-Dsession_tracking_consolekit=false,consolekit,consolekit" |
90 | PACKAGECONFIG[modemmanager] = "-Dmodem_manager=true,-Dmodem_manager=false,modemmanager mobile-broadband-provider-info" | 89 | PACKAGECONFIG[modemmanager] = "-Dmodem_manager=true,-Dmodem_manager=false,modemmanager mobile-broadband-provider-info" |
91 | PACKAGECONFIG[ppp] = "-Dppp=true -Dpppd=${sbindir}/pppd,-Dppp=false,ppp,ppp" | 90 | PACKAGECONFIG[ppp] = "-Dppp=true -Dpppd=${sbindir}/pppd,-Dppp=false,ppp" |
92 | PACKAGECONFIG[dnsmasq] = "-Ddnsmasq=${bindir}/dnsmasq" | 91 | PACKAGECONFIG[dnsmasq] = "-Ddnsmasq=${bindir}/dnsmasq" |
93 | PACKAGECONFIG[nss] = "-Dcrypto=nss,,nss" | 92 | PACKAGECONFIG[nss] = "-Dcrypto=nss,,nss" |
94 | PACKAGECONFIG[resolvconf] = "-Dresolvconf=${base_sbindir}/resolvconf,-Dresolvconf=no,,resolvconf" | 93 | PACKAGECONFIG[resolvconf] = "-Dresolvconf=${base_sbindir}/resolvconf,-Dresolvconf=no,,resolvconf" |
@@ -233,16 +232,21 @@ FILES:${PN}-daemon += " \ | |||
233 | ${nonarch_base_libdir}/udev/* \ | 232 | ${nonarch_base_libdir}/udev/* \ |
234 | ${nonarch_libdir}/firewalld \ | 233 | ${nonarch_libdir}/firewalld \ |
235 | ${nonarch_libdir}/NetworkManager/conf.d \ | 234 | ${nonarch_libdir}/NetworkManager/conf.d \ |
235 | ${nonarch_libdir}/NetworkManager/dispatcher.d/no-wait.d \ | ||
236 | ${nonarch_libdir}/NetworkManager/dispatcher.d/pre-down.d \ | 236 | ${nonarch_libdir}/NetworkManager/dispatcher.d/pre-down.d \ |
237 | ${nonarch_libdir}/NetworkManager/dispatcher.d/pre-up.d \ | 237 | ${nonarch_libdir}/NetworkManager/dispatcher.d/pre-up.d \ |
238 | ${nonarch_libdir}/NetworkManager/dispatcher.d/no-wait.d \ | ||
239 | ${nonarch_libdir}/NetworkManager/system-connections \ | 238 | ${nonarch_libdir}/NetworkManager/system-connections \ |
240 | ${nonarch_libdir}/NetworkManager/VPN \ | 239 | ${nonarch_libdir}/NetworkManager/VPN \ |
241 | ${sbindir}/NetworkManager \ | 240 | ${sbindir}/NetworkManager \ |
242 | ${sysconfdir}/init.d/network-manager \ | 241 | ${sysconfdir}/init.d/network-manager \ |
243 | ${sysconfdir}/NetworkManager \ | 242 | ${sysconfdir}/NetworkManager \ |
243 | ${sysconfdir}/resolv-conf.NetworkManager \ | ||
244 | ${sysconfdir}/sysconfig/network-scripts \ | ||
244 | ${systemd_system_unitdir} \ | 245 | ${systemd_system_unitdir} \ |
245 | " | 246 | " |
247 | RDEPENDS:${PN}-daemon += "\ | ||
248 | ${@bb.utils.contains('PACKAGECONFIG', 'ifupdown', 'bash', '', d)} \ | ||
249 | " | ||
246 | RRECOMMENDS:${PN}-daemon += "\ | 250 | RRECOMMENDS:${PN}-daemon += "\ |
247 | ${NETWORKMANAGER_FIREWALL_DEFAULT} \ | 251 | ${NETWORKMANAGER_FIREWALL_DEFAULT} \ |
248 | ${@bb.utils.filter('PACKAGECONFIG', 'dnsmasq', d)} \ | 252 | ${@bb.utils.filter('PACKAGECONFIG', 'dnsmasq', d)} \ |