!155 [sync] PR-150: Fix missing kernel configuration for RISC-V

From: @openeuler-sync-bot 
Reviewed-by: @xuxuepeng 
Signed-off-by: @xuxuepeng
This commit is contained in:
openeuler-ci-bot 2025-01-06 11:33:32 +00:00 committed by Gitee
commit 9c3a8fcce1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
%global debug_package %{nil}
%define VERSION 3.2.0
%define RELEASE 4
%define RELEASE 5
Name: kata-containers
Version: %{VERSION}
@ -41,7 +41,7 @@ cd %{_builddir}/kernel/linux/
%ifarch %{ix86} x86_64
cp %{_builddir}/kata_integration/hack/config-kata-x86_64 ./.config
%elifarch riscv64
cp /boot/config* ./.config
cp arch/riscv/config/openeuler_defconfig ./.config
%else
cp %{_builddir}/kata_integration/hack/config-kata-arm64 ./.config
%endif
@ -117,6 +117,12 @@ strip %{buildroot}/usr/bin/containerd-shim-kata-v2
%doc
%changelog
* Wed Nov 27 2024 heruoqing <heruoqing@iscas.ac.cn> - 3.2.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix missing kernel config for RISC-V when building
* Wed May 8 2024 heruoqing <ruoqing@isrc.iscas.ac.cn> - 3.2.0-4
- Type:feature
- ID:NA