๐ฆ When Gexis Player says an update is available, what arrives is exactly the software that was tested, down to the operating system’s own packages, signed with one release key, and checked again on your player before anything is installed. Here is the road it takes, and what each step protects you from.

From the build machine to your player.
The steps at a glance
| Step | What happens | What it protects you from |
|---|---|---|
| Build | The player’s parts become Debian packages, built in a container | Builds that differ from machine to machine |
| Image check | The image is compared with its sources, file by file | A card that is not what the code says |
| Release | Built from the tested image, with its exact OS packages | Untested combinations reaching your player |
| Parts | Four signed repositories, named by their content | Tampered or mixed-up package lists |
| Channel file | A small signed file says which release is current | Old releases replayed to hold you back |
| Notes | The release notes are signed too | Notes that do not match the release |
| Promotion | Stable gets the release, plus the image with checksum and signature | A corrupted or substituted download |
๐๏ธ Built, then checked
Every part of the player, from its core to its screens, is a Debian package, built inside an arm64 Debian container so nothing depends on the build machine’s own setup. A package that has not changed rebuilds byte-identical.
The flashable image is built from those same packages. What a new card starts from and what an update brings are the same bytes.
Before anyone flashes it, an image check reads the image file and compares its contents with the sources, file by file: the services, the screens, the core, which services are on and off, that no plugin is switched on, that licences are present, the default audio setting. The 1.0.2 image passed 121 checks.
๐งช A release is exactly what was tested
A release is not built from a list of packages. It is built from the image it was tested as, and the build refuses to start if that image’s player version differs from the packages at hand.
It reads the image’s list of installed packages and fetches every operating-system package at that exact version, checked against Debian’s or Raspberry Pi’s own signed indexes before being signed again with the player’s key. Nothing newer, nothing chosen by hand. The audio library, alsa-lib, is pinned to one version on top of that.
Why it matters: without this, every player would quietly drift a week after its update and become a different machine from the one that was tested. The audio chain is what this protects most.
๐งฉ Parts named by their content
A release is four apt repositories, each its own GitHub release: the player’s packages, the visualiser skins, the Raspberry Pi share and the Debian share. Each part is named after a fingerprint of its package list (the first 12 characters of its SHA-256). Change one package and the name changes.
Before publishing, the release is checked: every signature verifies, the package count matches the image’s plus the skin packs, alsa-lib is present.
Why it matters: an unchanged part is never uploaded again, and every past release stays downloadable. That is what lets your player go back to the release it had, even with no network.
๐ Signed channels: Testing and Stable
Your player does not ask “what is the newest release?”. It reads one small file for its channel, Testing or Stable, signed with the release key. The file names the release and its parts, and carries a serial number that only goes up. A player refuses a file whose serial went down.
Why it matters: an old file, genuinely signed, cannot be replayed to keep your player on an older release or send it backwards. The signature and the serial carry the trust, not the hosting site. Switching from Testing to Stable never downgrades either: the player waits until Stable passes it.
๐ The notes are signed too
The notes you read under What’s new are signed as well, along with the history of every earlier release, so a player several releases behind shows each one it skips. They come from one file in the repository, the same text the player, GitHub and the changelog show. Publishing refuses notes without their New / Fixed / Good to know sections.
๐ก๏ธ On your player
The updater checks every signature before believing anything: the channel file, each part’s index, the release’s list of parts, the notes. It uses its own private package setup, trusting only the release key, and never touches the system’s own package sources.
Then it downloads everything first, keeps the current versions so it can go back offline, makes a backup, stops playback, installs, and checks: the right version, a clean package database, the pinned audio library, and the player answering. If any of that fails, it goes back to the release you had. Once started, an update finishes, one way or the other.

Every step listed from the start, each marked as it is done.
๐พ Promotion to Stable, and the public download
A release goes to Testing first and keeps its number when promoted. Promotion points the Stable file at it and attaches the compressed image, gexis-player.img.xz, with its SHA-256 checksum and signature. Then the public download link is checked: it downloads, and its checksum matches. For 1.0.2, the public download was verified byte for byte.
Why it matters: whether you flash a new card or update over the network, you get the same tested bytes, and you can check them yourself.
