Document the local-archive transaction fixes

This commit is contained in:
Archipelago 2026-11-23 23:17:39 +03:00
parent 2b3357b89d
commit 4e097e15e9

View file

@ -2,6 +2,31 @@
Updated 2026-11-21. Architectural acceptance is separate from implementation.
## Local-archive + DKMS transactions (2026-11-23)
Installing VMware Workstation from local AUR archives failed twice, for two
separate reasons (`system c63ebb7`, `system a21673f`):
- `package-transaction.py` released the first transaction and then reused its
`pyalpm` package objects for the second pass that adds the exact kernel
headers. Packages loaded from a local archive are freed with the transaction,
so `prepare()` sorted a freed package and libalpm crashed in `strcmp`
(`alpm_list_diff` -> `alpm_list_mmerge`, package name NULL). Reproduced with a
checkout of the published image as the sandbox root: `vmware-keymaps` alone
resolved, `vmware-keymaps` + `broadcom-wl-dkms` always crashed. The second
pass now rebuilds the transaction from the durable request rows and header
identities.
- `extension add` with two archives reused one request id for both
`ImportPackage` calls, so the journal rejected the second one ("request ID
reused with different canonical inputs"). Each archive now gets a token
derived from the command token.
Verified on the host with a sideloaded daemon: the composition ran against the
published base, built `wl`, `vmmon` and `vmnet` for `7.3.5-zen1-1-zen`, and
staged `56e852ae…` with both VMware packages. Both fixes reach installed systems
only with the next image; until then the diagnostic binaries live in
`/opt/archipelago-diagnostics/local-packages-a21673f` and need a `/run` drop-in.
## Phone integration: KDE only (2026-11-21)
D-121 adds `kdeconnect` to the KDE Purpose as an ordinary package of the pinned