Skip to content

Commit

Permalink
Revert the ESP maximum size back to 600MiB
Browse files Browse the repository at this point in the history
The original issue was that 200MiB was too small, and we only increased the
maximum for people experimenting with UKIs. Seeing as Anaconda chooses the
maximum size in more cases than we'd like just drop the maximum size back down
to 600MiB which is easily big enough for firmware updates.

This should fix several regressions like:

 * https://bugzilla.redhat.com/show_bug.cgi?id=2212121
 * https://bugzilla.redhat.com/show_bug.cgi?id=2214342

Signed-off-by: Richard Hughes <richard@hughsie.com>

Resolves: rhbz#2234951
  • Loading branch information
hughsie authored and M4rtinK committed Aug 28, 2023
1 parent c4ea6b1 commit d4b7b60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyanaconda/modules/storage/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _bootloader_partition(self):
mountpoint="/boot/efi",
fstype="efi",
size=Size("500MiB"),
max_size=Size("2GiB"),
max_size=Size("600MiB"),
grow=True
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_efi(self, arch):

self._check_partitions(
PartSpec(mountpoint="/boot/efi", fstype="efi", grow=True,
size=Size("500MiB"), max_size=Size("2GiB")),
size=Size("500MiB"), max_size=Size("600MiB")),
PartSpec(mountpoint="/boot", size=Size("1GiB"))
)

Expand Down Expand Up @@ -256,7 +256,7 @@ def test_aarch64_efi(self, arch):

self._check_partitions(
PartSpec(mountpoint="/boot/efi", fstype="efi", grow=True,
size=Size("500MiB"), max_size=Size("2GiB")),
size=Size("500MiB"), max_size=Size("600MiB")),
PartSpec(mountpoint="/boot", size=Size("1GiB"))
)

Expand Down Expand Up @@ -293,7 +293,7 @@ def test_arm_efi(self, arch):

self._check_partitions(
PartSpec(mountpoint="/boot/efi", fstype="efi", grow=True,
size=Size("500MiB"), max_size=Size("2GiB")),
size=Size("500MiB"), max_size=Size("600MiB")),
PartSpec(mountpoint="/boot", size=Size("1GiB"))
)

Expand Down

0 comments on commit d4b7b60

Please sign in to comment.