2df6d9b914
Adds support for the block device size to be asserted for the purpose of writing out new images, which may be critical for operators with hardware which requires logical blocks which are 4096 bytes long. Change-Id: I5c16a042eacfbb94a905b93a0eb9fbc73de0a890 |
||
---|---|---|
.. | ||
environment.d | ||
block-device-default.yaml | ||
element-provides | ||
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 on a
block device which uses a native 4KiB sector size. This is important
because GPT partitioning relies on sector boundry placement and the GPT
disk partition table always starts on the second sector of the disk.
Note on x86 this provides the extra BIOS boot partition and a EFI boot partition for maximum compatability.
This element requires mkfs.vfat
command to be available
on the build system, usually included in the dosfstools OS package.
Furthermore, the sector size created by this element will not be compatible with devices using 512 byte sectors.