No description
  • Shell 70.8%
  • Makefile 29%
  • PHP 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-16 02:43:03 +02:00
lib small commit 2026-08-16 02:39:16 +02:00
ressources small commit v2 2026-08-16 02:43:03 +02:00
.gitignore metabase add /etc/default/metabase 2022-03-24 02:48:03 +01:00
debmaker big update 2026-04-13 01:28:10 +02:00
postrun.sh small commit 2026-08-16 02:39:16 +02:00
README.MD update readme 2026-03-23 23:58:53 +01:00

Debmaker

Build Debian packages from source in isolated chroot environments, without installing compilation tools on the host system.

How it works

  1. A minimal Debian filesystem is created via debootstrap inside an ext4 image
  2. The source code and build recipe are injected into the chroot
  3. Dependencies are installed, the application is compiled, and a .deb package is produced
  4. The resulting package is copied to the dist/ folder

Each application has its own build recipe in ressources/<app>/debmaker.

Prerequisites

  • A Debian-based system with root access (sudo)

Usage

./debmaker list            # List available applications
./debmaker run <app>       # Build a package (output in dist/)
./debmaker edit <app>      # Edit a build recipe
./debmaker chroot <app>    # Enter the chroot for debugging

Adding a new package

Create a directory ressources/<app>/ with a debmaker script defining:

APP=myapp                    # Package name
VERSION=1.0.0                # Upstream version
GIT_VERSION=v$VERSION        # Git tag
DEBIAN_VERSION_CODENAME=trixie  # Base Debian release
IMAGE_SIZE=5                 # Chroot image size in GB
DEPOT=https://...            # Source repository URL

main(){
    createUserDebmaker
    base_package_upgrade
    get_source
    # ... build steps
}

See existing recipes in ressources/ for examples.

Available packages

Contact