sandbox,deb,test: fold the unshare driver into Unshare

Unshare now owns its chroot driver directly: command wrappers, path
mapping, overlay staging and teardown no longer go through Context or
ContextDriver. Host is the base for every bootstrap, and deb and test
pass Arc<dyn Sandbox> end to end.

apt, build and the unit tests use Host instead of a local Context. The
context module, its manager, drivers and persisted configuration are
deleted. test_support::wrap_driver is replaced by the exec test sink.
This commit is contained in:
vhaudiquet committed 2026-11-24 18:35:17 +01:00
1 parent 7c689e8c39
commit d5bf2ceeb3
27 files changed
+507 -3286

No files matched your search

+1 -1
View File
@@ -234,7 +234,7 @@ native runner on a pkh testbed, and reports one verdict per test:
```
pkh test # test this tree: builds it first if needed
pkh test --mode local # on the current context, no isolation
pkh test --mode local # on the host, no isolation
pkh test --mode vm --image img.qcow2 # in a VM, via autopkgtest
pkh test --json --fail-on skip # CI-shaped
pkh test --list-tests # what does this package test?