This repository holds workflows and configurations for building OwnTone Debian packages and for updating the Raspberry Pi repository.
Leveraging the magic of Github Actions the workflows can:
-
Create pbuilder images for various distributions and architechtures, and use these to build OwnTone Debian packages by getting the source, using the Debian config in owntone-server/debian and then invoking pdebuild to cross-compile.
-
Update the repository with the new packages using reprepro.
- Edit VER and COMMIT in
pkginfo
. - Trigger the
create_dpkg.yml
workflow, and select the targets you want to build for. When the workflow is complete, check that it has produced a dpkg artifact with the expected .deb files. - Trigger
update_repo_rpi.yml
. This will update the repository data, which is located inrepo/rpi/out
andrepo/rpi/db
. This will also sign the packages using theRPI_REPO_SECKEY
GitHub secret.
- Add new distro/arch to
create_dpkg.yml
. - Edit
repo/rpi/conf/distributions
andrepo/rpi/conf/incoming
. - Commit and push changes.
This was made with the help of these great guides/resources: