nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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