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
This commit is contained in:
Giovanni Campagna 2012-09-14 23:57:20 +02:00
parent 8c9406637c
commit 2881194186

View File

@ -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.