mirror of
https://github.com/clearlinux/clr-boot-manager.git
synced 2026-09-06 21:51:43 +00:00
Instead of hard-coding the OS ID into clr-boot-manager at build time,
we'll be able to use the standardised {/etc/,/usr/lib/}os-release file
to provide updated OS identity information.
This change adds the os-release parser, which takes steps to ensure that
only predefined sane keys are used, and that value keys never have NULL
values.
In the absence of all configuration, an empty map is returned to allow
the library to make use of default values and not rely on extensive
error handling in multiple locations, making the change far less
invasive.
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
17 lines
282 B
Plaintext
17 lines
282 B
Plaintext
NAME="Solus"
|
|
VERSION="2017.01.01.0"
|
|
ID="solus"
|
|
VERSION_ID="2017.01.01.0"
|
|
PRETTY_NAME="Solus 2017.01.01.0"
|
|
ANSI_COLOR="1;34"
|
|
HOME_URL="https://www.solus-project.com"
|
|
SUPPORT_URL="https://www.solus-project.com/forums/"
|
|
BUG_REPORT_URL="https://dev.solus-project.com/"
|
|
|
|
=
|
|
=rofl
|
|
|
|
=
|
|
|
|
=
|