From 5a41b4c5daf60b45105d0dc552c4d46022c92b04 Mon Sep 17 00:00:00 2001 From: tranch Date: Wed, 15 Jul 2026 14:04:06 +0800 Subject: Integrate Instruments release seed Download and verify the selected release during image builds. Bootstrap it once into the first graphical user's XDG directories. --- .../systemd/system/aerocore-instruments-setup.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 system_files/usr/lib/systemd/system/aerocore-instruments-setup.service (limited to 'system_files/usr/lib') 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 -- cgit v1.2.3