[PATCH 1/8] Make iswmd the default

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

 



Now that we've moved to dracut for the initrd in rawhide, which supports
using mdraid for isw metadata raid sets (and uses this by default), make
using mdraid for isw metadata raid sets the default.
---
 booty/bootloaderInfo.py   |    3 ++-
 storage/formats/dmraid.py |    2 +-
 storage/formats/mdraid.py |    3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index d41f6a5..cb1e16f 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -147,7 +147,8 @@ 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"]
+                   "acpi", "video", "pci", "nodmraid", "nompath", "nomodeset",
+                   "noiswmd"]
         for arg in ourargs:
             if not flags.cmdline.has_key(arg):
                 continue
diff --git a/storage/formats/dmraid.py b/storage/formats/dmraid.py
index f516720..5bdb7f6 100644
--- a/storage/formats/dmraid.py
+++ b/storage/formats/dmraid.py
@@ -96,7 +96,7 @@ class DMRaidMember(DeviceFormat):
         raise DMRaidMemberError("destruction of dmraid members is non-sense")
 
 
-if flags.cmdline.has_key("iswmd"):
+if not flags.cmdline.has_key("noiswmd"):
     DMRaidMember._udevTypes.remove("isw_raid_member")
 
 # The anaconda cmdline has not been parsed yet when we're first imported,
diff --git a/storage/formats/mdraid.py b/storage/formats/mdraid.py
index f9df111..3cc9c2b 100644
--- a/storage/formats/mdraid.py
+++ b/storage/formats/mdraid.py
@@ -99,7 +99,8 @@ class MDRaidMember(DeviceFormat):
 # nodmraid -> Wether to use BIOS RAID or not
 # Note the anaconda cmdline has not been parsed yet when we're first imported,
 # so we can not use flags.dmraid here
-if flags.cmdline.has_key("iswmd") and not flags.cmdline.has_key("nodmraid"):
+if not flags.cmdline.has_key("noiswmd") and \
+   not flags.cmdline.has_key("nodmraid"):
     MDRaidMember._udevTypes.append("isw_raid_member")
 
 register_device_format(MDRaidMember)
-- 
1.6.4.2

_______________________________________________
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