No description
Find a file
2026-11-21 10:47:28 +03:00
debian Initial shadaos-release package (0.1) 2026-11-21 10:47:28 +03:00
payload Initial shadaos-release package (0.1) 2026-11-21 10:47:28 +03:00
tests Initial shadaos-release package (0.1) 2026-11-21 10:47:28 +03:00
.gitignore Initial shadaos-release package (0.1) 2026-11-21 10:47:28 +03:00
build.sh Initial shadaos-release package (0.1) 2026-11-21 10:47:28 +03:00
README.md Initial shadaos-release package (0.1) 2026-11-21 10:47:28 +03:00

shadaos-release

Owns the ShadaOS APT configuration on installed systems:

  • /etc/apt/sources.list.d/shadaos.list — the deb.shadaos.com source (conffile).
  • /etc/apt/preferences.d/shadaos — APT pin preferring origin=ShadaOS (priority 700) over same-named Debian packages (conffile).
  • /usr/share/keyrings/shadaos-archive-keyring.gpg — the archive signing keyring.

Why a package

live-build injects the same source and keyring at ISO build time (config/archives/, config/keyrings/ in shadaos-builder), but those files are unowned on the installed system. Owning them with dpkg means:

  • A Debian release upgrade is a package upgrade: build a new shadaos-release for the new suite, publish it to the new suite's dist on deb.shadaos.com, and users' apt full-upgrade switches the archive over atomically.
  • Local edits to the source or pin files survive upgrades via dpkg's conffile mechanism instead of being silently overwritten.

Release-upgrade rule

The suite in payload/etc/apt/sources.list.d/shadaos.list is intentional and per-release: when the builder's SUITE changes (e.g. trixie → forky), bump this package, change the suite in the payload, and publish it to the new suite's dist before building ISOs for it. build.sh in shadaos-builder refuses to build an ISO whose SUITE disagrees with this payload.

Keyring sync

payload/usr/share/keyrings/shadaos-archive-keyring.gpg must stay byte-identical to config/keyrings/shadaos-archive-keyring.gpg in shadaos-builder (the build-time copy used before this package is installed). tests/check-package.sh verifies the match. If the archive key ever rotates, update both copies and bump this package.

Build

./build.sh

The .deb lands in ./build/. Publish per the ShadaServer workflow (new version for every changed package).