Skip to content

Commit

Permalink
feat: Add Custom bootloader names so pretty_name can be static
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Aug 28, 2024
1 parent 2b01c93 commit 5017d9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libostree/ostree-sysroot-deploy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5017d9b

Please sign in to comment.