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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux