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:
Javier Martinez Canillas authored and Colin Walters committed 2013-08-22 07:37:21 -04:00
1 parent 000dd5add3
commit 695621db05
1 file changed
+5
+5
View File
@@ -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))