[blivet/1.20-devel] Restore the correct default partition table type for AArch64 EFI.
by d.marlin
From: "d.marlin" <dmarlin(a)redhat.com>
Signed-off-by: David A. Marlin <dmarlin(a)redhat.com>
Resolves: rhbz#1349130
---
blivet/platform.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/platform.py b/blivet/platform.py
index 63c566b..d1217fd 100644
--- a/blivet/platform.py
+++ b/blivet/platform.py
@@ -268,7 +268,7 @@ class MacEFI(EFI):
class Aarch64EFI(EFI):
_non_linux_format_types = ["vfat", "ntfs"]
- _disklabel_types = ["msdos", "gpt"]
+ _disklabel_types = ["gpt", "msdos"]
class PPC(Platform):
_ppcMachine = arch.getPPCMachine()
--
1.8.3.1
7 years, 10 months
[master 1/1] Fix the name sensitivity in the custom spoke.
by dashea
From: David Shea <dshea(a)redhat.com>
When switching from an existing device to a non-existing device of the
same type, the sensitivity of the "Name" field was not being updated.
Add an extra call to the combo box change signal handler to handle this
case.
---
pyanaconda/ui/gui/spokes/custom.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 769c6dd..01b216e 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1552,8 +1552,14 @@ def _populate_right_side(self, selector):
self._setup_fstype_combo(device)
# Set up the device type combo.
+ orig_device_type = self._get_current_device_type()
device_type = self._setup_device_type_combo(device, device_name)
+ # If the device type did not change, run the signal handler anyway
+ # to update widgets for the new device
+ if orig_device_type == device_type:
+ self.on_device_type_changed(self._typeCombo)
+
fancy_set_sensitive(self._fsCombo, self._reformatCheckbox.get_active() and
device_type != DEVICE_TYPE_BTRFS)
@@ -1586,7 +1592,8 @@ def _populate_right_side(self, selector):
self._populate_raid(get_raid_level(device))
self._populate_container(device=use_dev)
- # do this last in case this was set sensitive in on_device_type_changed
+
+ # do this last to override the decision made by on_device_type_changed if necessary
if use_dev.exists or use_dev.type == "btrfs volume":
fancy_set_sensitive(self._nameEntry, False)
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/92662b3c7fec4478472381387c...
7 years, 10 months