be3d4bc7c7
At commit
|
||
---|---|---|
.github/workflows | ||
owntone-server/debian | ||
repo/rpi | ||
LICENSE | ||
README.md | ||
pbuilderrc | ||
pkginfo |
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
- 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 artifacts with the expected .deb files. - Trigger
update_repo_rpi.yml
. This will load repository data from the latest release (revision), update with packages from the latestcreate_dpkg.yml
, and create a new Github release of the repository with assets for publishing. The packages will have been signed using theRPI_REPO_SECKEY
GitHub secret.
Howto add a distribution or architechture
- Add new distro/arch to
create_dpkg.yml
- Add new distro/arch to
update_repo_rpi.yml
- Edit
repo/rpi/conf/distributions
andrepo/rpi/conf/incoming
. - Commit and push changes.
Credit
This was made with the help of these great guides/resources: