[master/f21/rhel7-branch] Prevent tb on s390x when de-selecting a DASD and doing custom part. (#1158590)
Brian C. Lane
bcl at redhat.com
Fri Nov 7 00:26:50 UTC 2014
On Thu, Nov 06, 2014 at 01:59:27PM -0500, Samantha N. Bueno wrote:
> Keep track of the list of DASDs in the custom spoke so that if we
> de-select one upon re-visiting the storage spoke and try to remove it
> from the list of devices we are operating upon, anaconda doesn't crash.
>
> Resolves: rhbz#1158590
> ---
> pyanaconda/ui/gui/spokes/custom.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index 9daf9d1..b4c6ad7 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -1002,6 +1002,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
> self.__storage.devicetree.hide(disk)
>
> self._devices = self.__storage.devices
> + self._dasd = self.__storage.dasd
>
> def refresh(self):
> self.clear_errors()
> @@ -2147,6 +2148,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
> self.storage.devicetree._devices = self.__storage.devicetree._devices
> self.storage.devicetree._actions = self.__storage.devicetree._actions
> self.storage.devicetree._hidden = self.__storage.devicetree._hidden
> + self.storage.devicetree.dasd = self.__storage.devicetree.dasd
> self.storage.devicetree.names = self.__storage.devicetree.names
> self.storage.roots = self.__storage.roots
>
> --
> 1.9.3
Ack. I'll git am this for you before tonight's build.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list