Files
os/Cargo.toml
Tamas Csikel d5be90443d Package-based updates: sf-update, signed shell and app packages
- sf-update (root): lists sf-shell / sf-app-* in the Gitea generic registry,
  downloads, checks the Ed25519 signature and unpacks to /var/lib/sf-pkg,
  switches via current/previous/staged symlinks; the factory copies on the
  read-only root stay as fallback. A new shell is on trial and rolls back
  after 3 failed starts.
- Launcher: apps from factory + installed packages (newer version wins),
  Settings > System > Updates (check, install now), shell trial confirm.
- Image: sf-update units (boot apply, 6-hourly download, launcher requests),
  sf-shell-exec wrapper for sf-remote, factory versions, registry token.
- CI: .gitea/workflows/packages.yml builds, signs and uploads packages whose
  version isn't published yet (tools/pkg/packages.sh).
- docs/updates.md: protocol and layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 09:27:59 +02:00

28 lines
538 B
TOML

[workspace]
resolver = "3"
members = ["crates/sf-ipc", "crates/sf-launcher", "crates/sf-remote", "crates/sf-update"]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT"
[workspace.dependencies]
sf-ipc = { path = "crates/sf-ipc" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
anyhow = "1"
log = "0.4"
env_logger = "0.11"
[profile.release]
lto = "thin"
codegen-units = 1
strip = true
opt-level = 3
# Keep debug builds snappy for UI iteration.
[profile.dev.package."*"]
opt-level = 2