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

39700a
From 100e7015f7dcf2cee0c4ddbbd7498a67bac695d0 Mon Sep 17 00:00:00 2001
39700a
From: Colin Watson <cjwatson@ubuntu.com>
39700a
Date: Thu, 23 Jan 2014 12:05:36 +0000
39700a
Subject: [PATCH 041/143] * util/grub-install.c (write_to_disk): Add an info
39700a
 message.
39700a
39700a
---
39700a
 ChangeLog           | 4 ++++
39700a
 util/grub-install.c | 1 +
39700a
 2 files changed, 5 insertions(+)
39700a
39700a
diff --git a/ChangeLog b/ChangeLog
39700a
index 1ede370..eee8e78 100644
39700a
--- a/ChangeLog
39700a
+++ b/ChangeLog
39700a
@@ -1,3 +1,7 @@
39700a
+2014-01-23  Colin Watson  <cjwatson@ubuntu.com>
39700a
+
39700a
+	* util/grub-install.c (write_to_disk): Add an info message.
39700a
+
39700a
 2014-01-21  Andrey Borzenkov <arvidjaar@gmail.com>
39700a
 
39700a
 	* Makefile.am: Allow adding extra files to generated Windows ZIP
39700a
diff --git a/util/grub-install.c b/util/grub-install.c
39700a
index 5903f34..787dc90 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);
39700a
-- 
39700a
1.9.3
39700a