Approved. On 03/24/2009 02:23 PM, David Lehman wrote:
--- storage/devices.py | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index f8aaac2..2f1319e 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -107,7 +107,7 @@ import platform from errors import * from iutil import log_method_call, notify_kernel, numeric_type -from udev import udev_settle +from udev import * from formats import get_device_format_class, getFormat import gettext @@ -2287,8 +2287,9 @@ class MDRaidArrayDevice(StorageDevice): # the array is automatically activated upon creation, but... self.setup() udev_settle() - - # FIXME: we need to find our UUID now that the array exists + self.updateSysfsPath() + info = udev_get_block_device("/sys%s" % self.sysfsPath) + self.uuid = udev_device_get_md_uuid(info) @property def formatArgs(self):
-- David Cantrell <dcantrell@xxxxxxxxxx> Red Hat / Honolulu, HI _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list