Record the kernel module-tree removal and its tests
This commit is contained in:
parent
4afb8b0d21
commit
c1d6fa4b9d
1 changed files with 11 additions and 6 deletions
17
STATUS.md
17
STATUS.md
|
|
@ -38,13 +38,18 @@ declare `spec.packages.replacements` (`target: linux`, `expected_owner: core/arc
|
|||
Core, Container Runner and the live ISO keep `linux`. `builder/src/lib.rs` renders a
|
||||
`replace_core_package <target> <replacement>` call only from that declaration, and
|
||||
`composer/layer_delta.py` now permits a removal only for payload listed in the
|
||||
replaced package's own `files` index plus its database entry — any other vanished
|
||||
Core path still aborts the capture. Verified: `composer/tests/layer_delta_test.py`
|
||||
(11 tests, including the allowed replacement, the undeclared removal, an unrelated
|
||||
deleted path and inconsistent compose metadata) and the builder test
|
||||
replaced package's own `files` index, its database entry, and the module directory
|
||||
where that package installed `vmlinuz` — any other vanished Core path still aborts
|
||||
the capture. The module tree matters because Core's initramfs is generated inside
|
||||
`/usr/lib/modules/<version>/` and is not package payload, so removing the package
|
||||
alone leaves a stale second kernel and every later
|
||||
`basename /usr/lib/modules/*` sees two. Verified: `composer/tests/layer_delta_test.py`
|
||||
(13 tests, including the allowed replacement, the dropped generated module tree, an
|
||||
unrelated module tree, the undeclared removal, an unrelated deleted path and
|
||||
inconsistent compose metadata) and the builder test
|
||||
`only_declared_desktop_purposes_replace_the_kernel`. Real-image behaviour (does
|
||||
`pacman -R linux` leave exactly the expected paths; does the finalizer see one
|
||||
kernel) is only proven by the next published cycle.
|
||||
`pacman -R linux` plus the recorded module tree leave exactly one kernel; does the
|
||||
finalizer see one kernel) is only proven by the next published cycle.
|
||||
|
||||
## ISO cycle 20261114T133314Z with OS version 1.0.1.<tag> (published 2026-11-14)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue