From 594d3fb1221c059585c3556f6a100b23066be23d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 24 Aug 2023 20:09:09 -0400 Subject: [PATCH] Bump to ostree-ext 0.11.5 To pull in several recent fixes. Note that we now need to `require_bootable` when importing. --- Cargo.lock | 4 ++-- rust/src/sysroot_upgrade.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6afdfe6a3a..11895c3c8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2221,9 +2221,9 @@ dependencies = [ [[package]] name = "ostree-ext" -version = "0.11.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "962494b87897a77ac092f321666ad383af7289707479d7612f681c1c657cb57a" +checksum = "35e5fef7847d469bfffdc14800d9e76bf5c21acb136429c613ed2728b7f2d6a4" dependencies = [ "anyhow", "async-compression 0.3.15", diff --git a/rust/src/sysroot_upgrade.rs b/rust/src/sysroot_upgrade.rs index a4db0e729b..b2cc640489 100644 --- a/rust/src/sysroot_upgrade.rs +++ b/rust/src/sysroot_upgrade.rs @@ -80,6 +80,7 @@ async fn pull_container_async( output_message(&format!("Pulling manifest: {}", &imgref)); let config = default_container_pull_config(imgref)?; let mut imp = ImageImporter::new(repo, imgref, config).await?; + imp.require_bootable(); let layer_progress = imp.request_progress(); let prep = match imp.prepare().await? { PrepareResult::AlreadyPresent(r) => return Ok(r.into()),