admin: notify detected bootloader configuration
OSTree now supports multiple bootloader backends so notify which bootloader configuration was detected. https://bugzilla.gnome.org/show_bug.cgi?id=706548 Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
This commit is contained in:
parent
000dd5add3
commit
695621db05
|
|
@ -977,6 +977,11 @@ ot_admin_write_deployments (GFile *sysroot,
|
|||
guint i;
|
||||
gs_unref_object OtBootloader *bootloader = ot_admin_query_bootloader (sysroot);
|
||||
|
||||
if (bootloader)
|
||||
g_print ("Detected bootloader: %s\n", ot_bootloader_get_name (bootloader));
|
||||
else
|
||||
g_print ("Detected bootloader: (unknown)\n");
|
||||
|
||||
if (current_bootversion == new_bootversion)
|
||||
{
|
||||
if (!full_system_sync (cancellable, error))
|
||||
|
|
|
|||
Loading…
Reference in New Issue