[ostree] deploy: Add a debug message for which bootloader is used



commit ac40de57734ad2241279fffba8860fdf588e8401
Author: Colin Walters <walters verbum org>
Date:   Thu Apr 3 19:39:07 2014 -0400

    deploy: Add a debug message for which bootloader is used
    
    Debugging something...

 src/libostree/ostree-sysroot-deploy.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
index 87346b7..5f99fec 100644
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -1203,6 +1203,9 @@ ostree_sysroot_write_deployments (OstreeSysroot     *self,
           goto out;
         }
 
+      g_debug ("Using bootloader: %s", bootloader ?
+               g_type_name (G_TYPE_FROM_INSTANCE (bootloader)) : "(none)");
+
       if (bootloader && !_ostree_bootloader_write_config (bootloader, new_bootversion,
                                                           cancellable, error))
         {


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