SmartFox: launcher, Siri Remote driver, Debian image and installer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-10-24 09:06:06 +02:00
commit 79b03cac95
91 changed files with 15874 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
[Unit]
Description=SmartFox: fill the new data partition (/var) with the factory defaults
Documentation=file:/usr/lib/repart.d/50-sf-data.conf
DefaultDependencies=no
RequiresMountsFor=/var
ConditionPathIsMountPoint=/var
ConditionPathExists=!/var/.sf-data
After=local-fs.target
Before=sysinit.target systemd-tmpfiles-setup.service systemd-journal-flush.service systemd-random-seed.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/cp -a /usr/share/factory/var/. /var/
ExecStart=/bin/touch /var/.sf-data
[Install]
WantedBy=sysinit.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=SmartFox: remote debugging (ssh) off after boot
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/sf-remote-debug boot
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description=SmartFox: watch the remote debugging switch
[Path]
PathModified=/var/lib/smartfox/remote-debug
Unit=sf-remote-debug.service
[Install]
WantedBy=paths.target

View File

@@ -0,0 +1,7 @@
[Unit]
Description=SmartFox: remote debugging (ssh) on or off
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/sf-remote-debug

View File

@@ -0,0 +1,13 @@
[Unit]
Description=SmartFox Siri Remote driver
After=bluetooth.service
Wants=bluetooth.service
[Service]
ExecStart=/usr/bin/sf-remote --home-socket /run/user/1000/smartfox.sock
Environment=RUST_LOG=info
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target