dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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