Workflows for generating RPi packages and repo
Go to file
ejurgensen c17f87db5b Update Github actions version numbers as suggested by Github 2024-06-01 22:39:49 +02:00
.github/workflows Update Github actions version numbers as suggested by Github 2024-06-01 22:39:49 +02:00
owntone-server/debian Revert "Replace libmxml with libxml2" 2024-06-01 22:36:14 +02:00
repo/rpi Add "bookworm" to repo/ resources 2023-10-18 22:20:52 +02:00
LICENSE Initial commit 2022-03-10 17:04:57 +01:00
README.md Update READMEs 2022-03-10 23:14:07 +01:00
pbuilderrc Revert "Replace libmxml with libxml2" 2024-06-01 22:36:14 +02:00
pkginfo Update to version 28.9.129 2024-01-18 18:41:31 +01:00

README.md

apt

About

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.

Howto make a new version

  1. Edit VER and COMMIT in pkginfo.
  2. 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 artifacts with the expected .deb files.
  3. Trigger update_repo_rpi.yml. This will load repository data from the latest release (revision), update with packages from the latest create_dpkg.yml, and create a new Github release of the repository with assets for publishing. The packages will have been signed using the RPI_REPO_SECKEY GitHub secret.

Howto add a distribution or architechture

  1. Add new distro/arch to create_dpkg.yml
  2. Add new distro/arch to update_repo_rpi.yml
  3. Edit repo/rpi/conf/distributions and repo/rpi/conf/incoming.
  4. Commit and push changes.

Credit

This was made with the help of these great guides/resources: