diskimage-builder/diskimage_builder/elements/block-device-efi-4k/block-device-default.yaml
Julia Kreger 2df6d9b914 4k Block device support
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
2024-08-30 13:30:27 -07:00

31 lines
623 B
YAML

- local_loop:
name: image0
block_size: 4096
- partitioning:
base: image0
label: gpt
partitions:
- name: ESP
type: 'EF00'
size: 500MiB
mkfs:
type: vfat
mount:
mount_point: /boot/efi
fstab:
options: "defaults"
fsck-passno: 2
- name: BSP
type: 'EF02'
size: 8MiB
- name: root
type: '8300'
size: 100%
mkfs:
type: ext4
mount:
mount_point: /
fstab:
options: "defaults"
fsck-passno: 1