- Shell 100%
| debian | ||
| payload | ||
| tests | ||
| .gitignore | ||
| build.sh | ||
| README.md | ||
shadaos-release
Owns the ShadaOS APT configuration on installed systems:
/etc/apt/sources.list.d/shadaos.list— thedeb.shadaos.comsource (conffile)./etc/apt/preferences.d/shadaos— APT pin preferringorigin=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-releasefor the new suite, publish it to the new suite's dist ondeb.shadaos.com, and users'apt full-upgradeswitches 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).