- Debian: https://github.com/xlibre-deb/debian
- Devuan: https://github.com/xlibre-deb/devuan
- Ubuntu: https://github.com/xlibre-deb/ubuntu
misc/tasks/: build tasksmatrix.yaml: distro info
Untracked:
output/: built packagespackages/: workspace for packagesrepos/: workspace for repos
- thor (ruby-thor)
- docker
- docker-buildx
- Add your user to the
dockergroup to use Docker withoutsudo.
sudo groupadd docker
sudo usermod -aG docker $USER
# Restart system.
You can skip this and use Docker with sudo, but the build output files will be owned by root.
- Clone package source repositories.
thor pkg:clone
ls packages/
- (Optional) Use a remote BuildKit builder instance.
thor build:use-remote-builder remote tcp://remote.buildkit.instance:1234
# Generate docker-bake.hcl for targets (all by default) and build
thor build:bake:gen # [--targets] [--packages] [--arch]
thor build:bake
# Build single target without bake file
thor build:target debian-sid-amd64 # [--packages]
# List targets
thor build:list-targets
# Build packages on the host system without using Docker
sudo thor build:local --systemd # [--no-systemd] [--packages]
ls tmp/*.debThe build results will be stored in the output/ directory.
- thor (ruby-thor)
- apt-utils
- devscripts
- gpg (with signing key)
Clone the repositories:
thor repos:clone
ls repos/
Add the built packages from the output/ directory to the repos.
thor repos:include
thor repos:update
See available tasks with thor list.