summaryrefslogtreecommitdiff
path: root/libre/systemd/0003-FSDG-os-release-Default-NAME-to-GNU-Linux-instead-of.patch
blob: d9b3d9fe552480c7b95ecdd12066d2963905067f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 46ba10771dec899315255bef0aa420b0479b3f30 Mon Sep 17 00:00:00 2001
From: Luke Shumaker <lukeshu@parabola.nu>
Date: Wed, 25 May 2016 12:24:56 -0400
Subject: [PATCH 3/7] FSDG: os-release: Default NAME to "GNU/Linux" instead of
 "Linux"

---
 man/os-release.xml                    | 2 +-
 src/journal-remote/journal-gatewayd.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/os-release.xml b/man/os-release.xml
index 80d0d39bb9..ad3891e719 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -123,7 +123,7 @@
         <listitem><para>A string identifying the operating system,
         without a version component, and suitable for presentation to
         the user. If not set, defaults to
-        <literal>NAME=Linux</literal>. Example:
+        <literal>NAME=GNU/Linux</literal>. Example:
         <literal>NAME=Fedora</literal> or <literal>NAME="Debian
         GNU/Linux"</literal>.</para></listitem>
       </varlistentry>
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
index 82c70cfbe3..bd45b8e728 100644
--- a/src/journal-remote/journal-gatewayd.c
+++ b/src/journal-remote/journal-gatewayd.c
@@ -806,7 +806,7 @@ static int request_handler_machine(
                      SD_ID128_FORMAT_VAL(mid),
                      SD_ID128_FORMAT_VAL(bid),
                      hostname_cleanup(hostname),
-                     os_name ? os_name : "Linux",
+                     os_name ? os_name : "GNU/Linux",
                      v ? v : "bare",
                      usage,
                      cutoff_from,
-- 
2.15.1