mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-17 06:04:18 +03:00
Merge 5017d9bb1c2df013cf296f0c8ad941776012e0bc into 8aaea0c65ddcf32d4f52efb707185c25354c5e42
This commit is contained in:
commit
f31aee508f
@ -2030,7 +2030,9 @@ install_deployment_kernel (OstreeSysroot *sysroot, int new_bootversion,
|
|||||||
|
|
||||||
g_autoptr (GHashTable) osrelease_values = parse_os_release (contents, "\n");
|
g_autoptr (GHashTable) osrelease_values = parse_os_release (contents, "\n");
|
||||||
/* title */
|
/* 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)
|
if (val == NULL)
|
||||||
val = g_hash_table_lookup (osrelease_values, "ID");
|
val = g_hash_table_lookup (osrelease_values, "ID");
|
||||||
if (val == NULL)
|
if (val == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user