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
@@ -15,7 +15,7 @@ pub enum TestMode {
/// chroot (shared tarball cache).
#[default]
Chroot,
/// The current context directly: no isolation, tests can rewrite it.
/// The host directly: no isolation, tests can rewrite it.
Local,
/// A qemu virtual machine, through the installed autopkgtest's qemu
/// runner — the one backend pkh does not reimplement.