41a54d
From d4bd41f972c6e22b86c773cbba2a1e14f400a8be Mon Sep 17 00:00:00 2001
41a54d
From: Peter Jones <pjones@redhat.com>
41a54d
Date: Mon, 14 Mar 2011 14:27:42 -0400
41a54d
Subject: [PATCH] Don't say "GNU/Linux" in generated menus.
41a54d
41a54d
In Fedora and RHEL we just call it Linux.
41a54d
---
41a54d
 util/grub.d/10_linux.in     |    4 ++--
41a54d
 util/grub.d/20_linux_xen.in |    4 ++--
41a54d
 2 files changed, 4 insertions(+), 4 deletions(-)
41a54d
41a54d
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
41a54d
index a09c3e6..0b0df78 100644
41a54d
--- a/util/grub.d/10_linux.in
41a54d
+++ b/util/grub.d/10_linux.in
41a54d
@@ -29,9 +29,9 @@ export TEXTDOMAINDIR=@localedir@
41a54d
 CLASS="--class gnu-linux --class gnu --class os"
41a54d
 
41a54d
 if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
41a54d
-  OS=GNU/Linux
41a54d
+  OS=Linux
41a54d
 else
41a54d
-  OS="${GRUB_DISTRIBUTOR} GNU/Linux"
41a54d
+  OS="${GRUB_DISTRIBUTOR} Linux"
ee1d6d
   CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
41a54d
 fi
41a54d
 
41a54d
diff --git a/util/grub.d/20_linux_xen.in b/util/grub.d/20_linux_xen.in
41a54d
index ee49cd9..10422b0 100644
41a54d
--- a/util/grub.d/20_linux_xen.in
41a54d
+++ b/util/grub.d/20_linux_xen.in
41a54d
@@ -29,9 +29,9 @@ export TEXTDOMAINDIR=@localedir@
41a54d
 CLASS="--class gnu-linux --class gnu --class os --class xen"
41a54d
 
41a54d
 if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
41a54d
-  OS=GNU/Linux
41a54d
+  OS=Linux
41a54d
 else
41a54d
-  OS="${GRUB_DISTRIBUTOR} GNU/Linux"
41a54d
+  OS="${GRUB_DISTRIBUTOR} Linux"
ee1d6d
   CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
41a54d
 fi
41a54d
 
41a54d
-- 
41a54d
1.7.4
41a54d