From 5bed3c6e079dc7e23443bb6132db0762cf818431 Mon Sep 17 00:00:00 2001 From: Qinqi Qu Date: Mon, 8 May 2023 14:08:06 +0800 Subject: [PATCH] Update Nydus image service to 2.1.4-2 1. Support nydus-overlayfs and ctr-remote on different platforms Signed-off-by: Qinqi Qu --- nydus-rs.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nydus-rs.spec b/nydus-rs.spec index 17972c3..6cd8985 100644 --- a/nydus-rs.spec +++ b/nydus-rs.spec @@ -1,5 +1,5 @@ %define release_version 2.1.4 -%define anolis_release 1 +%define anolis_release 2 %define pkg_name image-service-%{release_version} %global __os_install_post %{nil} %global debug_package %{nil} @@ -49,6 +49,10 @@ EOF sed -i '/work_dir/c\ \"work_dir\" : \"/var/cache/nydus-rs/\"' ./misc/configs/nydusd-config.json +# Fix https://github.com/dragonflyoss/image-service/pull/1256 +sed -i 's/amd64/$(shell go env GOARCH)/g' ./contrib/ctr-remote/Makefile +sed -i 's/amd64/$(shell go env GOARCH)/g' ./contrib/nydus-overlayfs/Makefile + %build make -C contrib/nydusify make -C contrib/ctr-remote @@ -88,6 +92,8 @@ mkdir -p %{buildroot}/var/cache/nydus-rs/ %postun %changelog +* Fri Apr 28 2023 Qinqi Qu - 2.1.4-2 +- Support nydus-overlayfs and ctr-remote on different platforms * Mon Feb 20 2023 Qinqi Qu - 2.1.4-1 - Update Nydus image service to 2.1.4 * Mon Dec 26 2022 Qinqi Qu - 2.1.1-1 -- Gitee