[ostree] Grub2: use /etc/system-release now that we have one
- From: Giovanni Campagna <gcampagna src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [ostree] Grub2: use /etc/system-release now that we have one
 
- Date: Sun, 16 Sep 2012 22:55:54 +0000 (UTC)
 
commit 288119418659228ca4f85fc626ab06b0e731e96f
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Sep 14 23:57:20 2012 +0200
    Grub2: use /etc/system-release now that we have one
    
    This matches the upstream code more, and avoids the GNOME OS trademark
    in ostree, which is otherwise platform agnostic.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684049
 src/ostree/grub2/15_ostree |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/grub2/15_ostree b/src/ostree/grub2/15_ostree
index 6f9d51b..14394d6 100755
--- a/src/ostree/grub2/15_ostree
+++ b/src/ostree/grub2/15_ostree
@@ -27,7 +27,7 @@ export TEXTDOMAIN=grub
 export TEXTDOMAINDIR="${datarootdir}/locale"
 
 CLASS="--class gnu-linux --class gnu --class os --class ostree"
-OS="GNOME OS (Ostree)"
+OS="$(cat /ostree/current-etc/system-release)"
 
 # loop-AES arranges things so that /dev/loop/X can be our root device, but
 # the initrds that Linux uses don't like that.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]