Skip to main content

org.osbuild.bootctl.install.root

Run systemd-boot's bootctl install

bootctl install is the command to install systemd-boot into the ESP/XBOOTLDR. This stage implements installation with the --root argument. Note that systemd performs checks on the ESP/XBOOTLDR paths which means that this stage will currently only work on a root where those partitions are mounted. Note on a bare filesystem tree.

Schema 1

{}

Schema 2

{
"options": {
"additionalProperties": false,
"required": [
"root"
],
"properties": {
"root": {
"oneOf": [
{
"type": "string",
"description": "Filesystem root to operate on, if a mount",
"pattern": "^mount://[^/]+/"
},
{
"type": "string",
"description": "Filesystem root to operate on, if the tree",
"pattern": "^tree:///"
}
]
},
"esp-path": {
"type": "string",
"description": "Path to the ESP partition"
},
"boot-path": {
"type": "string",
"description": "Path to the $BOOT partition"
},
"relax-esp-checks": {
"type": "boolean",
"default": false
},
"random-seed": {
"type": "string",
"enum": [
"yes",
"no"
]
},
"make-entry-directory": {
"type": "string",
"enum": [
"yes",
"no"
]
},
"entry-token": {
"type": "string",
"enum": [
"auto",
"machine-id",
"os-id",
"os-image-id"
]
}
}
},
"devices": {
"type": "object",
"additionalProperties": true
},
"mounts": {
"type": "array"
}
}