Skip to content

Commit

Permalink
lib: Bump to ostree-ext 0.11.5
Browse files Browse the repository at this point in the history
And note the new `require_bootable()`, since we couldn't
require that in the container image importer.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Aug 29, 2023
1 parent 89dd1ff commit c3eee16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rust-version = "1.64.0"
[dependencies]
anyhow = "1.0"
camino = { version = "1.0.4", features = ["serde1"] }
ostree-ext = "0.11.2"
ostree-ext = "0.11.5"
clap = { version= "4.2", features = ["derive"] }
clap_mangen = { version = "0.2", optional = true }
cap-std-ext = "2"
Expand Down
1 change: 1 addition & 0 deletions lib/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ async fn upgrade(opts: UpgradeOpts) -> Result<()> {
let imgref = &OstreeImageReference::from(imgref.clone());
let mut imp =
ostree_container::store::ImageImporter::new(&sysroot.repo(), imgref, config).await?;
imp.require_bootable();
match imp.prepare().await? {
PrepareResult::AlreadyPresent(c) => {
println!(
Expand Down

0 comments on commit c3eee16

Please sign in to comment.