summaryrefslogtreecommitdiff
path: root/system_files/usr/lib
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-15 14:04:06 +0800
committertranch <tranch.xiao@gmail.com>2026-07-15 14:05:38 +0800
commit5a41b4c5daf60b45105d0dc552c4d46022c92b04 (patch)
tree77124dc136489d9d8de6ad76171e969678b393a6 /system_files/usr/lib
parentd83f73bdd591fdffa952e202f2ded1ac2edf0761 (diff)
downloadAeroCore-OS-5a41b4c5daf60b45105d0dc552c4d46022c92b04.tar.gz
AeroCore-OS-5a41b4c5daf60b45105d0dc552c4d46022c92b04.zip
Integrate Instruments release seed
Download and verify the selected release during image builds. Bootstrap it once into the first graphical user's XDG directories.
Diffstat (limited to 'system_files/usr/lib')
-rw-r--r--system_files/usr/lib/systemd/system/aerocore-instruments-setup.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/system_files/usr/lib/systemd/system/aerocore-instruments-setup.service b/system_files/usr/lib/systemd/system/aerocore-instruments-setup.service
new file mode 100644
index 0000000..0c9cc45
--- /dev/null
+++ b/system_files/usr/lib/systemd/system/aerocore-instruments-setup.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Configure AeroCore Booster for the graphical user
+Documentation=https://github.com/AeroCore-IO/instruments-ng
+After=systemd-user-sessions.service display-manager.service
+Wants=systemd-user-sessions.service
+ConditionPathExists=/usr/share/aerocore-booster-release/install.sh
+ConditionPathExists=!/var/lib/aerocore/instruments-bootstrap-complete
+
+[Service]
+Type=oneshot
+Environment=AEROCORE_INSTRUMENTS_SETUP_WAIT_SECONDS=180
+ExecStart=/usr/libexec/aerocore-instruments-setup
+Restart=on-failure
+RestartSec=15
+TimeoutStartSec=360
+
+[Install]
+WantedBy=multi-user.target