[ostree] admin: notify detected bootloader configuration



commit 695621db05bd6c74d6056d0226500256bf43af20
Author: Javier Martinez Canillas <javier martinez collabora co uk>
Date:   Thu Aug 22 04:00:45 2013 +0200

    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>

 src/ostree/ot-admin-deploy.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ot-admin-deploy.c b/src/ostree/ot-admin-deploy.c
index d437564..69a05d2 100644
--- a/src/ostree/ot-admin-deploy.c
+++ b/src/ostree/ot-admin-deploy.c
@@ -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))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]