image-rpios

image v2.5.0

Raspberry Pi OS style image layout with MBR, vfat boot partition, and a root partition that can be ext4 or btrfs.

Relationships

Depends on:

image-base rpi-storage-binder

Provides: image

Configuration Variables

Declares (prefix: image):

Variable Description Default Validation Policy
IGconf_image_rootfs_type Root filesystem type. ext4 Must be one of: ext4, btrfs immediate
IGconf_image_boot_part_size Boot partition size 100% Size value with optional unit (bytes, k/K/M/G/s) or percentage immediate
IGconf_image_root_part_size Root partition size 100% Size value with optional unit (bytes, k/K/M/G/s) or percentage immediate
IGconf_image_assetdir Image specific asset directory ${DIRECTORY} Path to an existing directory immediate
IGconf_image_disksig MBR disk signature supplied as a non-zero 32-bit hexadecimal number, or 'random' random Must match regex pattern: ^(random|0x(?!0{8})[0-9a-fA-F]{8})$ lazy
IGconf_image_devid_scheme How root and boot are referenced in /etc/fstab and on the kernel command line. by-slot: /dev/disk/by-slot symlinks. This layout's udev rule creates them for the boot-medium devices that rpi-storage-binder tags. partuuid: PARTUUID derived from the MBR disk signature, as Raspberry Pi OS tooling expects. Not available with pmap 'crypt': partition 2 holds the LUKS2 container, and the unlocked root filesystem is a device-mapper device with no PARTUUID of its own. by-slot Must be one of: by-slot, partuuid immediate
IGconf_image_pmap Provisioning Map identifier for this image layout. All partitions will be provisioned unencrypted (clear). Root partition will be provisioned encrypted (crypt). clear Must be one of: clear, crypt immediate

mmdebstrap

Packages

Installs:

Overlays

Phase Overlay
customize customize.overlay

Hooks

Phase Hooks
customize customize05-pkgs, customize10-pmap, customize15-cryptroot
preimage preimage.sh

Attributes

File: mbr/simple_dual/image.yaml

Type: static