Files
shturman/systemd/shturman-machineid.service
T
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

17 lines
662 B
Desktop File

# Every-boot привязка persistent machine-id из /data → /etc/machine-id (a-base §11):
# генерация — one-shot в firstboot; bind волатилен и нужен на КАЖДЫЙ boot, до dbus.
[Unit]
Description=Штурман bind persistent machine-id (/data → /etc/machine-id)
Requires=data.mount
After=data.mount shturman-firstboot.service
Before=dbus.service shturman-settings.service shturman-power.service shturman-shell.service
ConditionPathExists=/data/state/machine-id
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/sh -c 'mount --bind /data/state/machine-id /etc/machine-id'
[Install]
WantedBy=shturman.target