Re: [PATCH 3/8] Changes for using mdadm for isw_raid_member

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

 



   Changes for using mdadm for isw_raid_member

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 8c41c50..7383547 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -3,6 +3,9 @@
#
# Copyright (C) 2009  Red Hat, Inc.
#
+# Copyright (C) 2009 Intel Corporation
+# April 2009 - Changes for MD support for isw format
+#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# the GNU General Public License v.2, or (at your option) any later version.
@@ -30,7 +33,7 @@ from deviceaction import *
import formats
from udev import *
from iutil import log_method_call
-
+from flags import flags
import gettext
_ = lambda x: gettext.ldgettext("anaconda", x)

@@ -1429,7 +1432,7 @@ class DeviceTree(object):
        if format_type == "crypto_LUKS":
            # luks/dmcrypt
            kwargs["name"] = "luks-%s" % uuid
-        elif format_type == "linux_raid_member":
+        elif format_type == "linux_raid_member" or (format_type == "isw_raid_member" and flags.cmdline.has_key("iswmd")):
            # mdraid
            try:
kwargs["mdUuid"] = udev_device_get_md_uuid(info)
_______________________________________________
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