From 288119418659228ca4f85fc626ab06b0e731e96f Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 14 Sep 2012 23:57:20 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/grub2/15_ostree b/src/ostree/grub2/15_ostree index 6f9d51bb..14394d61 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.