summaryrefslogtreecommitdiff
path: root/libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-01-18 01:26:00 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-01-18 01:26:00 +0100
commit7262681e044dffa25820ea90c657ffac266c254c (patch)
tree129c6b76a842f9a9dadbcfe4526a8e05d2731ec0 /libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch
parentd9473a265ba35ed979d986804d843c2d1a43d520 (diff)
downloadabslibre-7262681e044dffa25820ea90c657ffac266c254c.tar.gz
abslibre-7262681e044dffa25820ea90c657ffac266c254c.tar.bz2
abslibre-7262681e044dffa25820ea90c657ffac266c254c.zip
Move systemd 240.34 from libre-testing to libre
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch')
-rw-r--r--libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch b/libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch
deleted file mode 100644
index 5e170ce34..000000000
--- a/libre-testing/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 50b001e3d034825142c03e612af9d4a5a307472f Mon Sep 17 00:00:00 2001
-From: Luke Shumaker <lukeshu@parabola.nu>
-Date: Wed, 25 May 2016 12:31:20 -0400
-Subject: [PATCH 5/7] FSDG: systemd-resolved: Fallback hostname to "gnu-linux"
- instead of "linux"
-
----
- src/resolve/resolved-manager.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
-index 01372fc66b..9155ce5c2e 100644
---- a/src/resolve/resolved-manager.c
-+++ b/src/resolve/resolved-manager.c
-@@ -387,10 +387,10 @@ static int determine_hostname(char **full_hostname, char **llmnr_hostname, char
- static const char *fallback_hostname(void) {
-
- /* Determine the fall back hostname. For exposing this system to the outside world, we cannot have it to be
-- * "localhost" even if that's the compiled in hostname. In this case, let's revert to "linux" instead. */
-+ * "localhost" even if that's the compiled in hostname. In this case, let's revert to "gnu-linux" instead. */
-
- if (is_localhost(FALLBACK_HOSTNAME))
-- return "linux";
-+ return "gnu-linux";
-
- return FALLBACK_HOSTNAME;
- }
---
-2.18.0
-