Blame SOURCES/0041-util-grub-install.c-write_to_disk-Add-an-info-messag.patch

d41074
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a85e8e
From: Colin Watson <cjwatson@ubuntu.com>
a85e8e
Date: Thu, 23 Jan 2014 12:05:36 +0000
d41074
Subject: [PATCH] * util/grub-install.c (write_to_disk): Add an info message.
a85e8e
a85e8e
---
a85e8e
 util/grub-install.c | 1 +
d41074
 ChangeLog           | 4 ++++
a85e8e
 2 files changed, 5 insertions(+)
a85e8e
a85e8e
diff --git a/util/grub-install.c b/util/grub-install.c
d41074
index 5903f340a61..787dc90fce5 100644
a85e8e
--- a/util/grub-install.c
a85e8e
+++ b/util/grub-install.c
a85e8e
@@ -675,6 +675,7 @@ write_to_disk (grub_device_t dev, const char *fn)
a85e8e
 
a85e8e
   core_img = grub_util_read_image (fn);    
a85e8e
 
a85e8e
+  grub_util_info ("writing `%s' to `%s'", fn, dev->disk->name);
a85e8e
   err = grub_disk_write (dev->disk, 0, 0,
a85e8e
 			 core_size, core_img);
a85e8e
   free (core_img);
d41074
diff --git a/ChangeLog b/ChangeLog
d41074
index 1ede3709165..eee8e78a726 100644
d41074
--- a/ChangeLog
d41074
+++ b/ChangeLog
d41074
@@ -1,3 +1,7 @@
d41074
+2014-01-23  Colin Watson  <cjwatson@ubuntu.com>
d41074
+
d41074
+	* util/grub-install.c (write_to_disk): Add an info message.
d41074
+
d41074
 2014-01-21  Andrey Borzenkov <arvidjaar@gmail.com>
d41074
 
d41074
 	* Makefile.am: Allow adding extra files to generated Windows ZIP