Files
kk0t9 bc2c0b8cfd feat(harness): systemd-юниты + Lima-конфиг + E2E-харнесс (файлы)
systemd/ (target/data.mount/firstboot/machineid/power/settings/shell + dbus-policy + journald/zram/oomd):
ordering data.mount->firstboot->machineid->dbus->power+settings->shell; Requires+After firstboot; OOMScoreAdjust.
lima/shturman.yaml (vz, Ubuntu ARM64, /data loopback, провижининг). tests/e2e/run.sh (каркас приёмки).
justfile: vm-up/down/reset/shell, run, e2e, shell-frame. Валидация — часть 2 (поднятие Lima).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Alexander <akotenev2003@gmail.com>
2026-06-24 13:26:45 +03:00

16 lines
620 B
SYSTEMD

# Журналируемый /data (power-safe). Loopback-образ создаёт provisioning (lima/shturman.yaml).
# Имя юнита (data.mount) обязано соответствовать Where=/data.
[Unit]
Description=Штурман /data (журналируемый, power-safe)
Before=shturman-firstboot.service
[Mount]
What=/var/lib/shturman/data.img
Where=/data
Type=ext4
# барьеры — дефолт ядра; errors=remount-ro — реально отображаемая non-default опция (ассертит E2E).
Options=rw,noatime,errors=remount-ro,loop
[Install]
WantedBy=shturman.target