Add Store support and unsigned app releases

This commit is contained in:
Tamas Csikel
2026-10-25 14:11:49 +01:00
parent 4975784491
commit d7e9fe4568
157 changed files with 22985 additions and 944 deletions

View File

@@ -10,7 +10,7 @@ if [ ! -L /home ]; then
ln -s var/home /home
fi
# The TV user (uid 1000): auto-login on tty1 starts the SmartFox session.
# The TV user (uid 1000): auto-login on tty1 starts the Fennec OS session.
if ! id tv >/dev/null 2>&1; then
useradd -m -d /var/home/tv -u 1000 -s /bin/bash -G video,render,input,audio,bluetooth tv
fi
@@ -18,6 +18,24 @@ fi
getent group netdev >/dev/null || groupadd -r netdev
usermod -aG netdev tv
# Steam (apps/steam, docs/store.md): the client is 32-bit. Valve's metapackages
# pull in the i386 graphics and system libraries it needs; the launcher itself
# is the sf-app-steam package (factory copy in /usr/share/smartfox/apps/steam).
if [ -f /usr/share/keyrings/valve-archive-keyring.gpg ]; then
dpkg --add-architecture i386
cat >/etc/apt/sources.list.d/steam.sources <<'EOF'
Types: deb
URIs: https://repo.steampowered.com/steam/
Suites: stable
Components: steam
Architectures: amd64 i386
Signed-By: /usr/share/keyrings/valve-archive-keyring.gpg
EOF
apt-get update -q
DEBIAN_FRONTEND=noninteractive apt-get install -y -q --no-install-recommends steam-libs-amd64 steam-libs-i386:i386 mesa-vulkan-drivers:i386 libvulkan1:i386
apt-get clean
fi
systemctl enable systemd-networkd systemd-resolved iwd bluetooth sf-remote.service sf-data-init.service sf-remote-debug-boot.service sf-remote-debug.path sf-update-apply.service sf-update-requests.path sf-update-auto.timer
# sshd only runs when remote debugging is on (Settings > System, sf-remote-debug).
systemctl disable ssh.service ssh.socket 2>/dev/null || true