Accept DKMS package admission without package allowlists (D-097)

This commit is contained in:
Pavel Isaev 2026-11-09 22:01:23 +03:00
parent e73f0303d9
commit e56161ee38
4 changed files with 37 additions and 0 deletions

View file

@ -49,6 +49,13 @@ This policy does not prohibit users from reporting bugs in unmodified Archipelag
## 3. No direct mutation of the live system
D-097 admits DKMS source packages without a package-name/version/archive-hash
allowlist. Recognize native `/usr/src/<directory>/dkms.conf` inputs, evaluate
configuration and package actions only inside staging, and resolve exact headers
for the target image kernel from its retained snapshot. Explicit offline DKMS
build/install and module validation remain mandatory; failure preserves the
existing deployments. Package admission does not guarantee driver compatibility.
D-094 permits unsigned local `.pkg.tar.zst` inputs after explicit administrator
authorization using `extension-local` and protected FD import. Retain exact copied
bytes/checksums and local provenance; import itself runs no scriptlets and performs

View file

@ -50,6 +50,12 @@ image's derived artifacts must be regenerated when affected by those packages.
## 3. Package scripts versus ALPM hooks
Package `.INSTALL` scriptlets and ALPM `.hook` files are distinct mechanisms.
D-097 refines admission for Host Extension DKMS inputs: native DKMS source and
framework package actions are allowed in isolated staging without per-package
name/hash review. Native framework hooks are replaced by explicit offline DKMS
build/install and validation against every target image kernel. This exception
does not permit live-host builds or relax required finalizer failures.
Disabling an ALPM hook does not disable an equivalent action embedded in a scriptlet.
Before a managed layer is published, inventory scripts and hooks from its pinned

View file

@ -1,5 +1,21 @@
# Archipelago Decision Log
## D-097 — Admit DKMS packages without a package allowlist (Accepted, 2026-11-09)
The user explicitly removes the DKMS package allowlist after `broadcom-wl-dkms`
was rejected solely because its archive hash was absent. Host Extensions admit
DKMS source packages by their native `/usr/src/<directory>/dkms.conf` payload,
without approved package names, versions or hashes. DKMS framework/source package
actions execute in isolated staging without per-package review; this refines
D-058's action admission for this Host Extension adapter. Native framework hooks
remain replaced by explicit build/install validation for every target image kernel.
Exact snapshot/signature/provenance checks, target-matching headers, module ABI
checks and atomic failure preservation remain required. Admission is not proof
that every third-party driver builds against every kernel.
Prepare and push code and next-build sources only. Do not change or restart the
currently running pipeline, update the user's host or claim new image acceptance.
## D-096 — Kernel arguments and human-first CLI (Accepted, 2026-11-09)
The user explicitly requested rpm-ostree-style deployment kernel-argument management,

View file

@ -1,5 +1,13 @@
# Archipelago Open Questions
## D-097 amendment (2026-11-09)
DKMS package admission no longer requires a package/hash allowlist. General
driver/kernel compatibility, Secure Boot module signing and hardware activation
evidence remain open; admission does not establish them. Target-image header
resolution and offline build/module validation are still required. Changes are
prepared for the next build; the active pipeline is not modified.
## D-096 amendment (2026-11-09)
Deployment kernel-argument management and human-first CLI with explicit JSON/debug