6e8fe0796b
- БЛОКЕР: shturman.target Wants= сервисов (enable target не каскадит) — иначе start поднимал только /data. - machine-id bind: создаём /etc/machine-id, если нет, перед mount --bind. - deny.toml: заметка о хрупкости slint-exceptions к апгрейдам. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Alexander <akotenev2003@gmail.com>
17 lines
709 B
Desktop File
17 lines
709 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 '[ -e /etc/machine-id ] || : > /etc/machine-id; mount --bind /data/state/machine-id /etc/machine-id'
|
|
|
|
[Install]
|
|
WantedBy=shturman.target
|