bootloaderStep - ODEX-TOS/tos-installer-backend GitHub Wiki
A bootloader is an execution step. This execution step takes as an argument the device of a drive specified in the models section. It will then install the bootloader onto its boot partition. Lets take a look at the yaml
models:
- disks:
-disk:
device: "/dev/sda"
# define our partitions
execution:
- bootloader: "/dev/sda" # point to the disk model
installing the bootloader should probably happen in a chrooted environment since you want that system to boot
Currently we only grub as a bootloader. If you want another bootloader you should add a script step instead