diskimage-builder/diskimage_builder/elements/block-device-efi
Pierre Riteau 7fd52ba841 Increase size of EFI system partition (again)
When I said in I8594d1fe05242f246a5809740a115ab2f84ac5a3 that 12 MiB
ought to be enough, I should have expected that I would be proven wrong.
While 12 MiB is enough to fit shim-x64 and grub2-efi-x64, yum fails to
update these packages to newer versions:

Transaction check error:
  installing package shim-x64-15-2.el7.centos.x86_64 needs 7MB on the /boot/efi filesystem
  installing package grub2-efi-x64-1:2.02-0.76.el7.centos.1.x86_64 needs 3MB on the /boot/efi filesystem

Error Summary
-------------
Disk Requirements:
  At least 7MB more space needed on the /boot/efi filesystem.

It is recommended that the ESP partition be much bigger. This commit
bumps its size to 550MiB, following guidelines from Rod Smith to avoid
incompatibilities with some EFIs [1].

[1] https://www.rodsbooks.com/efi-bootloaders/principles.html

Change-Id: If9515234f1a803cda32b2482f8abe10ddf0e6d26
2019-05-31 17:10:08 +10:00
..
environment.d Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
README.rst Add block-device defaults 2018-02-23 10:04:40 +11:00
block-device-default.yaml Increase size of EFI system partition (again) 2019-05-31 17:10:08 +10:00
element-provides Add block-device defaults 2018-02-23 10:04:40 +11:00

README.rst

Block Device EFI

This provides a block-device configuration for the vm element to get a single-partition disk suitable for EFI booting.

Note on x86 this provides the extra BIOS boot partition and a EFI boot partition for maximum compatability.