From: "Brian C. Lane" bcl@redhat.com
On Mac we want the FS label to be 'Linux HFS+ ESP' so we can detect previous installations. In custom the user may not know this, so force the FS label to be the correct one when it is selected. --- pyanaconda/ui/gui/spokes/custom.py | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index a278842..1cc6883 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -977,6 +977,11 @@ def _save_right_side(self, selector): new_device_info["encrypted"] = encrypted
# FS LABEL + # The Linux HFS+ ESP partition needs to have the correct FS label. + # Override anything the user sets for it. + if fs_type == "macefi": + self._labelEntry.set_text(new_fs.label) + label = self._labelEntry.get_text() old_label = getattr(device.format, "label", "") changed_label = (label != old_label)