diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index d52eecf3..5b1a81fc 100644 --- a/src/libostree/ostree-sysroot-deploy.c +++ b/src/libostree/ostree-sysroot-deploy.c @@ -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)