From 1c9f3a74de7ecf21e83ab282201e9341a30fb1ba Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Sun, 27 Oct 2024 13:21:58 -0500 Subject: [PATCH] chore: updated ubi (#2847) --- Cargo.lock | 16 ++++------------ src/backend/ubi.rs | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45846d2a0..cdbdc0c6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3983,9 +3983,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ubi" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d478e9147a27f8a8d973dead8057eb4cac66ec9e4ecbcfd46545a80375802c" +checksum = "2548274fb2071b9f1f97522c77a433810f7e289b552c3e66d69055e706441457" dependencies = [ "anyhow", "binstall-tar", @@ -4003,7 +4003,8 @@ dependencies = [ "tempfile", "thiserror", "url", - "xz", + "which", + "xz2", "zip", ] @@ -4619,15 +4620,6 @@ dependencies = [ "zip", ] -[[package]] -name = "xz" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c887690ff2a2e233e8e49633461521f98ec57fbff9d59a884c9a4f04ec1da34" -dependencies = [ - "xz2", -] - [[package]] name = "xz2" version = "0.1.7" diff --git a/src/backend/ubi.rs b/src/backend/ubi.rs index 0cdc432d5..ded9c1bb7 100644 --- a/src/backend/ubi.rs +++ b/src/backend/ubi.rs @@ -93,7 +93,7 @@ impl Backend for UbiBackend { builder = builder.matching(matching); } - let ubi = builder.build()?; + let mut ubi = builder.build()?; let rt = tokio::runtime::Builder::new_current_thread() .enable_io()