From a2a5720f6630f1674b0679bfbcdc7255df771a5f Mon Sep 17 00:00:00 2001 From: freaj Date: Sun, 29 Mar 2015 20:27:44 +0200 Subject: networkmanager-consolekit: add new package to [pcr] --- .../disable_set_hostname.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pcr/networkmanager-consolekit/disable_set_hostname.patch (limited to 'pcr/networkmanager-consolekit/disable_set_hostname.patch') diff --git a/pcr/networkmanager-consolekit/disable_set_hostname.patch b/pcr/networkmanager-consolekit/disable_set_hostname.patch new file mode 100644 index 000000000..ee95dd0e1 --- /dev/null +++ b/pcr/networkmanager-consolekit/disable_set_hostname.patch @@ -0,0 +1,19 @@ +diff -Nur NetworkManager-0.9.0.orig/src/nm-policy.c NetworkManager-0.9.0/src/nm-policy.c +--- NetworkManager-0.9.0.orig/src/nm-policy.c 2011-08-23 06:41:02.099686450 +0000 ++++ NetworkManager-0.9.0/src/nm-policy.c 2011-08-23 06:43:38.227791737 +0000 +@@ -302,6 +302,7 @@ + return; + } + ++#if 0 + /* Try automatically determined hostname from the best device's IP config */ + if (!best4) + best4 = get_best_ip4_device (policy->manager, &best_req4); +@@ -356,6 +357,7 @@ + } + } + ++#endif + /* If no automatically-configured hostname, try using the hostname from + * when NM started up. + */ -- cgit v1.2.3