diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-05-24 00:05:39 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-05-24 00:05:39 +0200 |
| commit | 56e46a0950860b0da2597d2a795ca4c9293c3637 (patch) | |
| tree | 2192220d2e100e2cb8c715987c196f36abca633a /debian/patches | |
| parent | d57a1dd26f8e9859252b0983c2d2ec3b95eb5714 (diff) | |
* debian/patches/series:
- restore Read-system-connections-from-run.patch which had been
dropped by error.
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/Read-system-connections-from-run.patch | 18 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 10 insertions, 9 deletions
diff --git a/debian/patches/Read-system-connections-from-run.patch b/debian/patches/Read-system-connections-from-run.patch index 69790014..fb4fa55d 100644 --- a/debian/patches/Read-system-connections-from-run.patch +++ b/debian/patches/Read-system-connections-from-run.patch @@ -8,22 +8,22 @@ Bug-Ubuntu: https://launchpad.net/bugs/1594551 src/settings/plugins/keyfile/nms-keyfile-plugin.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -Index: network-manager-1.12.2/src/settings/plugins/keyfile/nms-keyfile-plugin.c +Index: network-manager-1.18.0/src/settings/plugins/keyfile/nms-keyfile-plugin.c =================================================================== ---- network-manager-1.12.2.orig/src/settings/plugins/keyfile/nms-keyfile-plugin.c -+++ network-manager-1.12.2/src/settings/plugins/keyfile/nms-keyfile-plugin.c -@@ -411,6 +411,8 @@ _sort_paths (const char **f1, const char +--- network-manager-1.18.0.orig/src/settings/plugins/keyfile/nms-keyfile-plugin.c ++++ network-manager-1.18.0/src/settings/plugins/keyfile/nms-keyfile-plugin.c +@@ -416,6 +416,8 @@ _sort_paths (const char **f1, const char return strcmp (*f1, *f2); } +#define NM_CONFIG_KEYFILE_PATH_RUNTIME "/run/NetworkManager/system-connections" + static void - read_connections (NMSettingsPlugin *config) - { -@@ -446,6 +448,22 @@ read_connections (NMSettingsPlugin *conf - } - g_dir_close (dir); + _read_dir (GPtrArray *filenames, + const char *path, +@@ -461,6 +463,22 @@ read_connections (NMSettingsPlugin *conf + + alive_connections = g_hash_table_new (nm_direct_hash, NULL); + /* Now add files from /run too, unless they have a file in /etc */ + dir = g_dir_open (NM_CONFIG_KEYFILE_PATH_RUNTIME, 0, &error); diff --git a/debian/patches/series b/debian/patches/series index f3f8df16..fd2a34f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ Provide-access-to-some-of-NM-s-interfaces-to-whoopsie.patch Update-dnsmasq-parameters.patch Disable-general-with-expect.patch libnm-Check-self-still-NMManager-or-not.patch +Read-system-connections-from-run.patch |