Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

zrepl/debian-binary-packaging

Repository files navigation

Warning

This repo is archived. The tooling to run the apt and rpm repo is in a different repo that is not open source.


The scripts in this repo provide tooling to produce debian binary packages from the binary artifacts released in the zrepl repository.

Building .deb packages

The resulting packages are put into debs for further processing, e.g. by aptly (see below).

In Docker

Make sure Docker is installed and running on your system.

# Download GitHub released files into ./release
./docker_make_debs.bash

On Debian

# Download GitHub released files into ./release
./ondebian_make_debs.bash amd64
./ondebian_make_debs.bash arm64
./ondebian_make_debs.bash armhf
./ondebian_make_debs.bash i386

Publishing in the APT repo

We use aptly (1.4 at the time of writing) for managing the zrepl APT repositories. The script aptly/import-debs.bash imports packages in debs into the aptly repo and updates the aptly filesystem publish dir aptly/root.

The aptly config, database and GPG homedir for package signing are all in aptly. aptly/env.bash can be sourced to get an aptly alias with properly set -config flag and GNUPGHOME environment variable.

Adding a new release

# add new placeholder entry to debian/changelog
sudo docker run --rm -it -v $PWD:/src -w /src zrepl_debian_pkg dch --newversion 0.2.0-1 foo
# now fix placeholders in changelog
# commit
# rebuild

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published