@@ -11,10 +11,10 @@ index 148acade5c..6395fbfbe5 100644
1111
1212 LABEL="nm_drivers_end"
1313diff --git a/data/NetworkManager.service.in b/data/NetworkManager.service.in
14- index e23b3a5282..c7246a3b61 100644
14+ index f09ae86ceb..b2ecb405ef 100644
1515--- a/data/NetworkManager.service.in
1616+++ b/data/NetworkManager.service.in
17- @@ -8 ,7 +8 ,7 @@ Before=network.target @DISTRO_NETWORK_SERVICE@
17+ @@ -9 ,7 +9 ,7 @@ BindsTo=dbus.service
1818 [Service]
1919 Type=dbus
2020 BusName=org.freedesktop.NetworkManager
@@ -24,10 +24,10 @@ index e23b3a5282..c7246a3b61 100644
2424 ExecStart=@sbindir@/NetworkManager --no-daemon
2525 Restart=on-failure
2626diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c
27- index 3565c04d59..52c58fec24 100644
27+ index 2038e2f205..90bf9fa28b 100644
2828--- a/src/core/devices/nm-device.c
2929+++ b/src/core/devices/nm-device.c
30- @@ -14005 ,14 +14005 ,14 @@ nm_device_start_ip_check(NMDevice *self)
30+ @@ -14275 ,14 +14275 ,14 @@ nm_device_start_ip_check(NMDevice *self)
3131 gw = nm_l3_config_data_get_best_default_route(l3cd, AF_INET);
3232 if (gw) {
3333 nm_inet4_ntop(NMP_OBJECT_CAST_IP4_ROUTE(gw)->gateway, buf);
@@ -45,46 +45,33 @@ index 3565c04d59..52c58fec24 100644
4545 }
4646 }
4747diff --git a/src/libnm-client-impl/meson.build b/src/libnm-client-impl/meson.build
48- index 143126c51a..a7143443ec 100644
48+ index fb879dca47..13cc2867e1 100644
4949--- a/src/libnm-client-impl/meson.build
5050+++ b/src/libnm-client-impl/meson.build
51- @@ -172 ,7 +172 ,6 @@ if enable_introspection
51+ @@ -173 ,7 +173 ,6 @@ if enable_introspection
5252 input: libnm_core_settings_sources,
5353 output: 'nm-propery-infos-' + info + '.xml',
5454 command: [
5555- python.path(),
5656 join_paths(meson.source_root(), 'tools', 'generate-docs-nm-property-infos.py'),
5757 info,
5858 '@OUTPUT@',
59- @@ -229 ,7 +228 ,6 @@ if enable_introspection
59+ @@ -230 ,7 +229 ,6 @@ if enable_introspection
6060 'env',
6161 'GI_TYPELIB_PATH=' + gi_typelib_path,
6262 'LD_LIBRARY_PATH=' + ld_library_path,
6363- python.path(),
6464 join_paths(meson.source_root(), 'tools', 'generate-docs-nm-settings-docs-gir.py'),
6565 '--lib-path', meson.current_build_dir(),
6666 '--gir', '@INPUT@',
67- diff --git a/src/libnm-platform/nm-platform-utils.c b/src/libnm-platform/nm-platform-utils.c
68- index bebc53a851..93710455d5 100644
69- --- a/src/libnm-platform/nm-platform-utils.c
70- +++ b/src/libnm-platform/nm-platform-utils.c
71- @@ -2209,7 +2209,7 @@ nmp_utils_modprobe(GError **error, gboolean suppress_error_logging, const char *
72-
73- /* construct the argument list */
74- argv = g_ptr_array_sized_new(4);
75- - g_ptr_array_add(argv, "/sbin/modprobe");
76- + g_ptr_array_add(argv, "@kmod@/bin/modprobe");
77- g_ptr_array_add(argv, "--use-blacklist");
78- g_ptr_array_add(argv, (char *) arg1);
79-
8067diff --git a/src/libnmc-base/nm-vpn-helpers.c b/src/libnmc-base/nm-vpn-helpers.c
81- index 476fbe518e..2641dbf637 100644
68+ index cbe76f5f1c..8515f94994 100644
8269--- a/src/libnmc-base/nm-vpn-helpers.c
8370+++ b/src/libnmc-base/nm-vpn-helpers.c
84- @@ -198,25 +198,8 @@ nm_vpn_openconnect_authenticate_helper(const char *host,
85- gs_free const char **output_v = NULL;
71+ @@ -284,15 +284,6 @@ nm_vpn_openconnect_authenticate_helper(NMSettingVpn *s_vpn, GPtrArray *secrets,
8672 const char *const *iter;
8773 const char *path;
74+ const char *opt;
8875- const char *const DEFAULT_PATHS[] = {
8976- "/sbin/",
9077- "/usr/sbin/",
@@ -94,6 +81,12 @@ index 476fbe518e..2641dbf637 100644
9481- "/usr/local/bin/",
9582- NULL,
9683- };
84+ const char *oc_argv[(12 + 2 * G_N_ELEMENTS(oc_property_args))];
85+ const char *gw;
86+ int port;
87+ @@ -311,15 +302,7 @@ nm_vpn_openconnect_authenticate_helper(NMSettingVpn *s_vpn, GPtrArray *secrets,
88+
89+ port = extract_url_port(gw);
9790
9891- path = nm_utils_file_search_in_paths("openconnect",
9992- "/usr/sbin/openconnect",
@@ -106,10 +99,10 @@ index 476fbe518e..2641dbf637 100644
10699- return FALSE;
107100+ path = "@openconnect@/bin/openconnect";
108101
109- if (!g_spawn_sync(NULL,
110- (char **) NM_MAKE_STRV(path, "--authenticate", host),
102+ oc_argv[oc_argc++] = path;
103+ oc_argv[oc_argc++] = "--authenticate";
111104diff --git a/src/libnmc-setting/meson.build b/src/libnmc-setting/meson.build
112- index cf8a21fc80..61b992a50e 100644
105+ index cf8a21fc80..61d8e140e2 100644
113106--- a/src/libnmc-setting/meson.build
114107+++ b/src/libnmc-setting/meson.build
115108@@ -7,7 +7,6 @@ if enable_docs
@@ -120,8 +113,16 @@ index cf8a21fc80..61b992a50e 100644
120113 join_paths(meson.source_root(), 'tools', 'generate-docs-nm-settings-docs-merge.py'),
121114 '@OUTPUT@',
122115 nm_property_infos_xml['nmcli'],
116+ @@ -20,7 +19,6 @@ if enable_docs
117+ input: settings_docs_input_xml,
118+ output: 'settings-docs.h',
119+ command: [
120+ - python.path(),
121+ join_paths(meson.source_root(), 'tools', 'generate-docs-settings-docs.py'),
122+ '--output', '@OUTPUT@',
123+ '--xml', '@INPUT@'
123124diff --git a/src/tests/client/meson.build b/src/tests/client/meson.build
124- index 6dc0f2a2c8..0a32977a59 100644
125+ index 8c36e40559..cfb6649a21 100644
125126--- a/src/tests/client/meson.build
126127+++ b/src/tests/client/meson.build
127128@@ -6,7 +6,6 @@ test(
@@ -130,5 +131,13 @@ index 6dc0f2a2c8..0a32977a59 100644
130131 source_root,
131132- python.path(),
132133 '--',
134+ 'TestNmcli',
133135 ],
134- env: [
136+ @@ -23,7 +22,6 @@ if enable_nm_cloud_setup
137+ args: [
138+ build_root,
139+ source_root,
140+ - python.path(),
141+ '--',
142+ 'TestNmCloudSetup',
143+ ],
0 commit comments