test0r 4776dc01d2 daedalus-v4l2-dkms: loud warning when DKMS build doesn't land
Sonnet pre-deployment review caught a BLOCKER: on a fresh higgs
(Debian 13 / Pi CM5) install without the RPi kernel headers
pre-installed, the postinst's `dkms autoinstall || true` silently
swallowed the build failure. Package appeared installed but the
.ko was absent; `modprobe daedalus_v4l2` then failed and the
entire stack was dead with no clear pointer to the cause.

Fix in both ecosystems:

debian/daedalus-v4l2-dkms/build-deb.sh:
- After `dkms autoinstall`, verify the post-condition with
  `dkms status -m daedalus_v4l2 -v VER -k $(uname -r)`.
- If the module isn't 'installed' / 'loaded' for the running
  kernel, emit a yellow-bolded ANSI warning naming the most
  likely cause (kernel headers package missing) and the exact
  recovery steps (linux-headers-rpi-2712 for RPi or
  linux-headers-$KERNELVER for Debian generic, then
  `dkms autoinstall` + `modprobe`).
- Colour only on TTY; the warning is unconditional regardless.

arch/daedalus-v4l2-dkms/:
- New daedalus-v4l2-dkms.install with post_install +
  post_upgrade hooks that run the same `dkms status` check.
- post_upgrade catches the case where a kernel-headers package
  was uninstalled / pruned between upgrades, silently
  regressing the build.
- Wired into the PKGBUILD via install="${pkgname}.install".

Both versions point at the actual repair commands rather than
just saying "build failed", so the user is one apt/pacman away
from a working stack instead of debugging dkms internals.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 18:38:52 +00:00

marfrit-packages

Overlay package repository for the reauktion.de infrastructure.

Published at: https://packages.reauktion.de/

Scope

Tree Arches Notes
Arch Linux ARM (ALARM) aarch64 primary target — Pi 5, Rock 5, ampere, KU-1255 test rigs
Arch Linux x86_64 for nuccies / workstations
Debian arm64, amd64 for non-Arch hosts

MIPS is intentionally unsupported. The Fritz!Box is sacred.

Layout (served at packages.reauktion.de)

packages.reauktion.de/
├── arch/
│   ├── aarch64/{marfrit.db,marfrit.files,*.pkg.tar.{xz,zst}{,.sig}}
│   └── x86_64/...
├── debian/
│   ├── dists/
│   │   ├── bookworm/{Release,InRelease,Release.gpg,main/binary-{arm64,amd64}/...}
│   │   └── trixie/...
│   └── pool/main/...
└── marfrit.gpg      # public signing key

Adding the repo (Arch / ALARM)

curl -sO https://packages.reauktion.de/marfrit.gpg
sudo pacman-key --add marfrit.gpg
sudo pacman-key --lsign-key 92D5E96D8F63C75E4116AA1FF5C8C4603D0D250C

# Paste at the end of /etc/pacman.conf:
[marfrit]
Server = https://packages.reauktion.de/arch/$arch
SigLevel = Required DatabaseRequired

sudo pacman -Sy

Adding the repo (Debian)

sudo install -m 755 -d /etc/apt/keyrings
curl -s https://packages.reauktion.de/marfrit.gpg | \
    sudo gpg --dearmor -o /etc/apt/keyrings/marfrit.gpg

echo "deb [signed-by=/etc/apt/keyrings/marfrit.gpg] https://packages.reauktion.de/debian $(lsb_release -cs) main" | \
    sudo tee /etc/apt/sources.list.d/marfrit.list

sudo apt update

Signing key

  • Fingerprint: 92D5E96D8F63C75E4116AA1FF5C8C4603D0D250C
  • UID: Markus Fritsche (marfrit-repo signing) <mfritsche@reauktion.de>
  • Expires: 2030-04-13

Key management procedures (renewal, rotation, revocation) live in DokuWiki at private:reauktion:marfrit_repo_key (admin-only).

Layout in this Git repo

marfrit-packages/
├── README.md
├── arch/
│   └── distcc-avahi/                # ALARM distcc with --with-avahi
├── debian/                          # (future) Debian source packages
└── .gitea/
    └── workflows/
        └── build.yml                # CI pipeline stub

Mail

mfritsche@reauktion.de.

S
Description
ALARM aarch64 + Arch x86_64 + Debian arm64/amd64 overlay repo — published at packages.reauktion.de
Readme 256 MiB
Languages
Shell 99.3%
JavaScript 0.7%