nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
Blob Blame History Raw
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@ubuntu.com>
Date: Thu, 23 Jan 2014 12:05:36 +0000
Subject: [PATCH] * util/grub-install.c (write_to_disk): Add an info message.

---
 util/grub-install.c | 1 +
 ChangeLog           | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/util/grub-install.c b/util/grub-install.c
index 5903f340a61..787dc90fce5 100644
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -675,6 +675,7 @@ write_to_disk (grub_device_t dev, const char *fn)
 
   core_img = grub_util_read_image (fn);    
 
+  grub_util_info ("writing `%s' to `%s'", fn, dev->disk->name);
   err = grub_disk_write (dev->disk, 0, 0,
 			 core_size, core_img);
   free (core_img);
diff --git a/ChangeLog b/ChangeLog
index 1ede3709165..eee8e78a726 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-23  Colin Watson  <cjwatson@ubuntu.com>
+
+	* util/grub-install.c (write_to_disk): Add an info message.
+
 2014-01-21  Andrey Borzenkov <arvidjaar@gmail.com>
 
 	* Makefile.am: Allow adding extra files to generated Windows ZIP