No description
  • Shell 89.4%
  • Makefile 10.3%
  • PHP 0.3%
Find a file
2026-04-04 19:18:47 +02:00
lib update 2026-03-27 22:38:45 +01:00
ressources update zigbee2mqtt adguardhome keycloak 2026-04-04 19:18:47 +02:00
.gitignore metabase add /etc/default/metabase 2022-03-24 02:48:03 +01:00
debmaker Update 2023-07-16 09:36:17 +02:00
postrun.sh update zigbee2mqtt adguardhome keycloak 2026-04-04 19:18:47 +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