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

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