[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/3] Carry rdloaddriver= parameters through to the boot loader config.



Carry the last rdloaddriver= parameter through to cmdlineDict.  If the
user specifies rdloaddriver= during installation, we want to preserve
that on the kernel boot line.

Related: rhbz#689029
---
 booty/bootloaderInfo.py |    2 +-
 flags.py                |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index 3e17d7c..8cdc83d 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -163,7 +163,7 @@ class KernelArguments:
         # look for kernel arguments we know should be preserved and add them
         ourargs = ["speakup_synth", "apic", "noapic", "apm", "ide", "noht",
                    "acpi", "video", "pci", "nodmraid", "nompath", "nomodeset",
-                   "noiswmd", "fips"]
+                   "noiswmd", "fips", "rdloaddriver"]
 
         if iutil.isS390():
             ourargs.append("cio_ignore")
diff --git a/flags.py b/flags.py
index e01ec63..1c1dca8 100644
--- a/flags.py
+++ b/flags.py
@@ -61,6 +61,9 @@ class Flags:
                 key = i
                 val = None
 
+            if key.lower() == "rdloaddriver":
+                key = key.lower()
+
             cmdlineDict[key] = val
 
         return cmdlineDict
-- 
1.7.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]