mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-21 13:34:34 +03:00
feat: Add Custom bootloader names so pretty_name can be static
This commit is contained in:
parent
2b01c93cd9
commit
5017d9bb1c
@ -1999,7 +1999,9 @@ install_deployment_kernel (OstreeSysroot *sysroot, int new_bootversion,
|
||||
|
||||
g_autoptr (GHashTable) osrelease_values = parse_os_release (contents, "\n");
|
||||
/* title */
|
||||
const char *val = g_hash_table_lookup (osrelease_values, "PRETTY_NAME");
|
||||
const char *val = g_hash_table_lookup (osrelease_values, "BOOTLOADER_NAME");
|
||||
if (val == NULL)
|
||||
val = g_hash_table_lookup (osrelease_values, "PRETTY_NAME");
|
||||
if (val == NULL)
|
||||
val = g_hash_table_lookup (osrelease_values, "ID");
|
||||
if (val == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user