!62 修改kernel config,添加对shared_fs:virtio-fs选项支持

From: @northgarden 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2024-06-21 02:52:11 +00:00 committed by Gitee
commit 304815e09d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 45 additions and 1 deletions

View File

@ -1,6 +1,6 @@
%global debug_package %{nil}
%define VERSION v1.0.0
%define RELEASE 10
%define RELEASE 11
Name: kata-integration
Version: %{VERSION}
@ -28,6 +28,12 @@ This is a usefult tool for building Kata Container components.
%doc
%changelog
* Thu Jun 20 2024 zhangbowei<zhangbowei@kylinos.cn> - 1.0.0-11
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: modify kernel config for supporting shared_fs:virtio-fs option
* Mon Aug 28 2023 Vanient<xiadanni1@huawei.com> - 1.0.0-10
- Type:bugfix
- ID:NA

View File

@ -0,0 +1,37 @@
From 4d0a714a2b32d966b7fa4b8e36a749d7790c4e65 Mon Sep 17 00:00:00 2001
From: holyfei <yangfeiyu20102011@163.com>
Date: Thu, 20 Jun 2024 15:37:14 +0800
Subject: [PATCH] kata_integration modify kernel config for virtio-fs
---
hack/config-kata-arm64 | 1 +
hack/config-kata-x86_64 | 1 +
2 files changed, 2 insertions(+)
diff --git a/hack/config-kata-arm64 b/hack/config-kata-arm64
index bbea2a5..65ce304 100644
--- a/hack/config-kata-arm64
+++ b/hack/config-kata-arm64
@@ -2147,6 +2147,7 @@ CONFIG_AUTOFS4_FS=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set
+CONFIG_VIRTIO_FS=y
# CONFIG_OVERLAY_FS is not set
#
diff --git a/hack/config-kata-x86_64 b/hack/config-kata-x86_64
index 69302d7..6a8120c 100644
--- a/hack/config-kata-x86_64
+++ b/hack/config-kata-x86_64
@@ -2393,6 +2393,7 @@ CONFIG_AUTOFS4_FS=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set
+CONFIG_VIRTIO_FS=y
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
--
2.20.1

View File

@ -2,3 +2,4 @@
0002-kata_integration-adapt-with-new-kata-containers.patch
0003-kata_integration-modify-kernel-config-for-kata.patch
0004-kata_integration-modify-x86_64-kernel-config-for-kat.patch
0005-kata_integration-modify-kernel-config-for-virtio-fs.patch