rfc/examples/v1/core.layer.yaml

32 lines
792 B
YAML

# Frozen Layer v1 syntax; illustrative package set, not a complete build profile.
apiVersion: archipelago/v1
kind: Layer
metadata:
name: core/arch
version: 0.1.0
spec:
type: core
architecture: x86_64
packages:
runtime:
- name: base
- name: linux
- name: linux-firmware
- name: archipelago
- name: ostree
runtime:
provisioner: terminal-firstboot/v1
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]
timeout_seconds: 10
network: none