dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

23d2ea
From 2e763a9ee4ff7ec25c113b15cb41c11a5998505c Mon Sep 17 00:00:00 2001
39700a
From: Colin Watson <cjwatson@ubuntu.com>
39700a
Date: Thu, 23 Jan 2014 12:05:36 +0000
27a4da
Subject: [PATCH 041/260] * 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
27a4da
index 1ede37091..eee8e78a7 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
27a4da
index 5903f340a..787dc90fc 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
-- 
27a4da
2.13.0
39700a