mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 11:58:16 +00:00
pkg: kernel: Get kernel config name from a script
Get kernel config name from tests/.ci/kata-arch.sh script. Fixes: #70 Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
This commit is contained in:
parent
50faaf7e78
commit
d7527c4f0e
@ -43,7 +43,8 @@ RELEASE=$(get_obs_pkg_release "${PROJECT_REPO}")
|
|||||||
kernel_sha256=$(curl -L -s -f ${KR_SHA} | awk '/linux-'${VERSION}'.tar.xz/ {print $1}')
|
kernel_sha256=$(curl -L -s -f ${KR_SHA} | awk '/linux-'${VERSION}'.tar.xz/ {print $1}')
|
||||||
|
|
||||||
# Generate the kernel config file
|
# Generate the kernel config file
|
||||||
cp "configs/x86_kata_kvm_${KR_LTS}.x" config
|
KERNEL_ARCH=$(go get github.com/kata-containers/tests && $GOPATH/src/github.com/kata-containers/tests/.ci/kata-arch.sh --kernel)
|
||||||
|
cp "configs/${KERNEL_ARCH}_kata_kvm_${KR_LTS}.x" config
|
||||||
|
|
||||||
replace_list=(
|
replace_list=(
|
||||||
"VERSION=${VERSION}"
|
"VERSION=${VERSION}"
|
||||||
|
Loading…
Reference in New Issue
Block a user