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:
1 parent
8c9406637c
commit
2881194186
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user