From e56161ee381a490602eccc8d6dcefceb47c293ee Mon Sep 17 00:00:00 2001 From: Pavel Isaev Date: Mon, 9 Nov 2026 22:01:23 +0300 Subject: [PATCH] Accept DKMS package admission without package allowlists (D-097) --- rfc/RFC-0004-host-extensions.md | 7 +++++++ rfc/RFC-0005-hooks-and-finalization.md | 6 ++++++ spec/decision-log.md | 16 ++++++++++++++++ spec/open-questions.md | 8 ++++++++ 4 files changed, 37 insertions(+) diff --git a/rfc/RFC-0004-host-extensions.md b/rfc/RFC-0004-host-extensions.md index 907f709..46058c0 100644 --- a/rfc/RFC-0004-host-extensions.md +++ b/rfc/RFC-0004-host-extensions.md @@ -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//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 diff --git a/rfc/RFC-0005-hooks-and-finalization.md b/rfc/RFC-0005-hooks-and-finalization.md index a55c951..296fe4a 100644 --- a/rfc/RFC-0005-hooks-and-finalization.md +++ b/rfc/RFC-0005-hooks-and-finalization.md @@ -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 diff --git a/spec/decision-log.md b/spec/decision-log.md index 766ad40..7c711b9 100644 --- a/spec/decision-log.md +++ b/spec/decision-log.md @@ -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//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, diff --git a/spec/open-questions.md b/spec/open-questions.md index 7c9c58a..bcccaa5 100644 --- a/spec/open-questions.md +++ b/spec/open-questions.md @@ -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