nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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