41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From 6459848ee40762c9f28cb3ff4afad5b3b4e8c8e0 Mon Sep 17 00:00:00 2001
|
|
From: gaohuatao <gaohuatao@huawei.com>
|
|
Date: Wed, 28 Apr 2021 16:39:36 +0800
|
|
Subject: [PATCH] open containerd kata shimv2 build flag
|
|
|
|
reason: open containerd kata shimv2 build flag
|
|
|
|
Signed-off-by: gaohuatao <gaohuatao@huawei.com>
|
|
---
|
|
Makefile | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index f22fc80..beb46b6 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -35,6 +35,7 @@ runtime: agent
|
|
sh ./scripts/make_default_configuration.sh $(RUNTIME_PATH)
|
|
cp -f $(RUNTIME_PATH)/kata-runtime $(BUILD_PATH)/
|
|
cp -f $(RUNTIME_PATH)/kata-netmon $(BUILD_PATH)/
|
|
+ cp -f $(RUNTIME_PATH)/containerd-shim-kata-v2 $(BUILD_PATH)/
|
|
|
|
proxy:
|
|
cd proxy; sh apply-patches
|
|
@@ -69,6 +70,7 @@ install:
|
|
install -p -m 750 $(BUILD_PATH)/kata-runtime /usr/bin/
|
|
install -p -m 750 $(BUILD_PATH)/kata-proxy /usr/bin/
|
|
install -p -m 750 $(BUILD_PATH)/kata-shim /usr/bin/
|
|
+ install -p -m 750 $(BUILD_PATH)/containerd-shim-kata-v2 /usr/bin/
|
|
install -p -m 640 -D $(RUNTIME_PATH)/cli/config/configuration-qemu.toml usr/share/defaults/kata-containers/configuration.toml
|
|
|
|
clean:
|
|
@@ -78,3 +80,4 @@ clean:
|
|
rm -f $(BUILD_PATH)/busybox
|
|
rm -f $(BUILD_PATH)/kata-runtime
|
|
rm -f $(BUILD_PATH)/kata-agent
|
|
+ rm -f $(BUILD_PATH)/containerd-shim-kata-v2
|
|
--
|
|
2.20.1
|
|
|