0003-FSDG-os-release-Default-NAME-to-GNU-Linux-instead-of.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From a6be5d2b2cd02f302ef70c76b601e7af912c3022 Mon Sep 17 00:00:00 2001
  2. From: Luke Shumaker <lukeshu@parabola.nu>
  3. Date: Wed, 25 May 2016 12:24:56 -0400
  4. Subject: [PATCH 3/7] FSDG: os-release: Default NAME to "GNU/Linux" instead of
  5. "Linux"
  6. ---
  7. man/os-release.xml | 2 +-
  8. src/journal-remote/journal-gatewayd.c | 2 +-
  9. 2 files changed, 2 insertions(+), 2 deletions(-)
  10. diff --git a/man/os-release.xml b/man/os-release.xml
  11. index 9ff4b7e8c2..1c069275c8 100644
  12. --- a/man/os-release.xml
  13. +++ b/man/os-release.xml
  14. @@ -98,7 +98,7 @@
  15. <listitem><para>A string identifying the operating system,
  16. without a version component, and suitable for presentation to
  17. the user. If not set, defaults to
  18. - <literal>NAME=Linux</literal>. Example:
  19. + <literal>NAME=GNU/Linux</literal>. Example:
  20. <literal>NAME=Fedora</literal> or <literal>NAME="Debian
  21. GNU/Linux"</literal>.</para></listitem>
  22. </varlistentry>
  23. diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
  24. index 9e77e314ff..3d0c3aafd7 100644
  25. --- a/src/journal-remote/journal-gatewayd.c
  26. +++ b/src/journal-remote/journal-gatewayd.c
  27. @@ -788,7 +788,7 @@ static int request_handler_machine(
  28. SD_ID128_FORMAT_VAL(mid),
  29. SD_ID128_FORMAT_VAL(bid),
  30. hostname_cleanup(hostname),
  31. - os_name ? os_name : "Linux",
  32. + os_name ? os_name : "GNU/Linux",
  33. v ? v : "bare",
  34. usage,
  35. cutoff_from,
  36. --
  37. 2.18.0