deb: make sure to have the right apt keyrings
Some checks failed
CI / build (push) Failing after 14s

This commit is contained in:
2026-01-20 19:31:07 +01:00
parent ab35af5fb5
commit dd9cc07285
5 changed files with 139 additions and 1 deletions

View File

@@ -120,6 +120,11 @@ impl EphemeralContextGuard {
.arg(lockfile_path.to_string_lossy().to_string())
.status()?;
// Make sure we have the right apt keyrings to mmdebstrap the chroot
tokio::runtime::Runtime::new().unwrap().block_on(
crate::apt::keyring::download_trust_keyring(Some(ctx.clone()), series),
)?;
// Use mmdebstrap to download the tarball to the cache directory
let status = ctx
.command("mmdebstrap")