dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0086-util-grub-install.c-Fix-handling-of-disk-module.patch

4fe85b
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4fe85b
From: Glenn Washburn <development@efficientek.com>
4fe85b
Date: Sun, 22 Jun 2014 01:45:11 +0200
4fe85b
Subject: [PATCH] * util/grub-install.c: Fix handling of --disk-module.
4fe85b
4fe85b
---
4fe85b
 util/grub-install.c | 3 +--
4fe85b
 ChangeLog           | 4 ++++
4fe85b
 2 files changed, 5 insertions(+), 2 deletions(-)
4fe85b
4fe85b
diff --git a/util/grub-install.c b/util/grub-install.c
4fe85b
index e9c6a4656ef..7d61c32be2f 100644
4fe85b
--- a/util/grub-install.c
4fe85b
+++ b/util/grub-install.c
4fe85b
@@ -94,7 +94,6 @@ enum
4fe85b
     OPTION_RECHECK, 
4fe85b
     OPTION_FORCE,
4fe85b
     OPTION_FORCE_FILE_ID,
4fe85b
-    OPTION_MODULE, 
4fe85b
     OPTION_NO_NVRAM, 
4fe85b
     OPTION_REMOVABLE, 
4fe85b
     OPTION_BOOTLOADER_ID, 
4fe85b
@@ -273,7 +272,7 @@ static struct argp_option options[] = {
4fe85b
    N_("install even if problems are detected"), 2},
4fe85b
   {"force-file-id", OPTION_FORCE_FILE_ID, 0, 0,
4fe85b
    N_("use identifier file even if UUID is available"), 2},
4fe85b
-  {"disk-module", OPTION_MODULE, N_("MODULE"), 0,
4fe85b
+  {"disk-module", OPTION_DISK_MODULE, N_("MODULE"), 0,
4fe85b
    N_("disk module to use (biosdisk or native). "
4fe85b
       "This option is only available on BIOS target."), 2},
4fe85b
   {"no-nvram", OPTION_NO_NVRAM, 0, 0,
4fe85b
diff --git a/ChangeLog b/ChangeLog
4fe85b
index 0cdd095a498..4ce664327f9 100644
4fe85b
--- a/ChangeLog
4fe85b
+++ b/ChangeLog
4fe85b
@@ -1,3 +1,7 @@
4fe85b
+2014-06-21  Glenn Washburn <development@efficientek.com>
4fe85b
+
4fe85b
+	* util/grub-install.c: Fix handling of --disk-module.
4fe85b
+
4fe85b
 2014-06-21  Stephane Rochoy <sheda>
4fe85b
 
4fe85b
 	* grub-core/loader/i386/bsd.c (grub_netbsd_boot): Pass pointer to