rfc/examples/v1/core.layer.json

23 lines
845 B
JSON

{
"apiVersion": "archipelago/v1",
"kind": "Layer",
"metadata": {"name": "core/arch", "version": "0.1.0"},
"spec": {
"type": "core",
"architecture": "x86_64",
"packages": {"runtime": [{"name": "archipelago"}, {"name": "base"}, {"name": "linux"}, {"name": "linux-firmware"}, {"name": "ostree"}]},
"runtime": {
"units": [
{"name": "systemd-networkd.service", "activation": "enable"},
{"name": "systemd-resolved.service", "activation": "enable"}
],
"boot_checks": ["core-ostree-boot"]
},
"actions": [{
"id": "core-ostree-boot", "phase": "runtime", "adapter": "exec/v1",
"argv": ["/usr/bin/test", "-e", "/run/ostree-booted"],
"inputs": ["/run/ostree-booted"], "outputs": [], "after": [],
"timeout_seconds": 10, "required": true, "network": "none"
}]
}
}