Fix missing kernel configuration for RISC-V
Previous configuration path is missing in building environment, replace `/boot/config*` with `arch/riscv/config/openeuler_defconfig` since the kernel source code will be present while building. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> (cherry picked from commit 31dc280a84164c3f23b1d05502879e5f17b56a3f)
This commit is contained in:
parent
0a5c6708a2
commit
4836e03404
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user