Skip to main content

Module baseline

Module baseline 

Source
Expand description

Β§The baseline installer

This module handles creation of simple root filesystem setups. At the current time it’s very simple - just a direct filesystem (e.g. xfs, ext4, btrfs etc.). It is intended to add opinionated handling of TPM2-bound LUKS too. But that’s about it; other more complex flows should set things up externally and use bootc install to-filesystem.

StructsΒ§

InstallBlockDeviceOpts πŸ”’
Options for installing to a block device

EnumsΒ§

BlockSetup πŸ”’

ConstantsΒ§

BOOTPN_SIZE_MB πŸ”’
CFS_EFIPN_SIZE_MB πŸ”’
EFI Partition size for composefs installations We need more space than ostree as we have UKIs and UKI addons We might also need to store UKIs for pinned deployments
EFIPN_SIZE_MB πŸ”’
PREPBOOT_GUID πŸ”’
PREPBOOT_LABEL πŸ”’

FunctionsΒ§

install_create_rootfs πŸ”’
mkfs πŸ”’
udev_settle πŸ”’
use_discoverable_partitions πŸ”’
Check whether DPS auto-discovery is enabled. When true, root=UUID= is omitted and systemd-gpt-auto-generator discovers the root partition via its DPS type GUID instead.
wipefs πŸ”’