Re: [PATCH 2/4] Skip the filtering UI if there's only one disk in the machine.

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

 



> >@@ -534,6 +525,23 @@ class FilterWindow(InstallWindow):
> >          (raids, nonraids) = self.split_list(lambda d: isRAID(d) and not isCCISS(d),
> >                                              singlepaths)
> >
> >+        if anaconda.id.simpleFilter:
> >+            # In the typical use case, the user likely only has one drive and
> >+            # there's no point showing either the filtering UI or the
> >+            # cleardisks UI.  Unfortunately, that means we need to duplicate
> >+            # some of the getNext method.
> >+            if len(singlepaths) == 1:
> >+                anaconda.id.storage.exclusiveDisks = [udev_device_get_name(singlepaths[0])]
> >+                return None
> >+
> 
> Note if we decide to also show BIOS RAID in the simple view this if needs to change.

Okay, let's address this separately.

- Chris

_______________________________________________
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