mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-10 05:18:30 +03:00
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:
parent
8c9406637c
commit
2881194186
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user