diff --git a/kuasar.spec b/kuasar.spec index ce7d990989b1a2a09f06fcda0e4ad40af95c2105..75fabd584c1897cd79b40249231b9bc07fe93d33 100644 --- a/kuasar.spec +++ b/kuasar.spec @@ -2,7 +2,7 @@ Name: kuasar Version: 1.0.0 -Release: 3 +Release: 4 Summary: Kuasar is an efficient container runtime that supports multiple sandbox techniques. License: Apache License 2.0 URL: https://github.com/kuasar-io/kuasar @@ -85,6 +85,9 @@ rm -rf %{buildroot} %config(noreplace) %{kuasarconfdir}/config.toml %changelog +* Fri Nov 29 liuxu -1.0.0-4 +- fix:use ttrpc-rust in vendor + * Thu Nov 28 liuxu -1.0.0-3 - vmm:add ttrpc-rust to use vendor diff --git a/patch/0007-fix-use-ttrpc-rust-in-vendor.patch b/patch/0007-fix-use-ttrpc-rust-in-vendor.patch new file mode 100644 index 0000000000000000000000000000000000000000..aeb8d80c7970cbeb7f8f6d39a452b28b5c4c0f35 --- /dev/null +++ b/patch/0007-fix-use-ttrpc-rust-in-vendor.patch @@ -0,0 +1,38 @@ +From 0c30ae1530c030aace0970cf7cfd8e636e9917d7 Mon Sep 17 00:00:00 2001 +From: liuxu +Date: Fri, 29 Nov 2024 16:27:40 +0800 +Subject: [PATCH] fix:use ttrpc-rust in vendor + +Signed-off-by: liuxu +--- + vmm/sandbox/.cargo/config.toml | 1 + + vmm/task/.cargo/config.toml | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/vmm/sandbox/.cargo/config.toml b/vmm/sandbox/.cargo/config.toml +index 0740e49a..ecf54e19 100644 +--- a/vmm/sandbox/.cargo/config.toml ++++ b/vmm/sandbox/.cargo/config.toml +@@ -11,6 +11,7 @@ replace-with = "vendored-sources" + + [source."git+https://github.com/kuasar-io/ttrpc-rust.git"] + git = "https://github.com/kuasar-io/ttrpc-rust.git" ++branch = "v0.7.1-kuasar" + replace-with = "vendored-sources" + + [source.vendored-sources] +diff --git a/vmm/task/.cargo/config.toml b/vmm/task/.cargo/config.toml +index 906faaac..cea47423 100644 +--- a/vmm/task/.cargo/config.toml ++++ b/vmm/task/.cargo/config.toml +@@ -7,6 +7,7 @@ replace-with = "vendored-sources" + + [source."git+https://github.com/kuasar-io/ttrpc-rust.git"] + git = "https://github.com/kuasar-io/ttrpc-rust.git" ++branch = "v0.7.1-kuasar" + replace-with = "vendored-sources" + + [source.vendored-sources] +-- +2.43.0 + diff --git a/series.conf b/series.conf index ec670962cb4db6fd9f7eb20258e1982fd55f6d42..b74bf6167a13a2a422fd2a98b1b5447063750382 100644 --- a/series.conf +++ b/series.conf @@ -4,3 +4,4 @@ 0004-vmm-qemu-support-aarch64.patch 0005-vmm-qemu-support-config_qemu.toml.patch 0006-add-ttrpc-rust-to-use-vendor.patch +0007-fix-use-ttrpc-rust-in-vendor.patch