mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-18 17:33:02 +00:00
snap: update qemu version to 6.1.0 for arm
Update qemu version of snap for arm to 6.1.0 thus the arch specific qemu version for arm needs clean up. Fixes: #3627 Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
parent
88a70d32ba
commit
419d813427
@ -262,24 +262,11 @@ parts:
|
|||||||
kata_dir=${GOPATH}/src/github.com/${SNAPCRAFT_PROJECT_NAME}/${SNAPCRAFT_PROJECT_NAME}
|
kata_dir=${GOPATH}/src/github.com/${SNAPCRAFT_PROJECT_NAME}/${SNAPCRAFT_PROJECT_NAME}
|
||||||
|
|
||||||
versions_file="${kata_dir}/versions.yaml"
|
versions_file="${kata_dir}/versions.yaml"
|
||||||
# arch-specific definition
|
|
||||||
case "$(uname -m)" in
|
|
||||||
"aarch64")
|
|
||||||
branch="$(${yq} r ${versions_file} assets.hypervisor.qemu.architecture.aarch64.version)"
|
|
||||||
url="$(${yq} r ${versions_file} assets.hypervisor.qemu.url)"
|
|
||||||
commit="$(${yq} r ${versions_file} assets.hypervisor.qemu.architecture.aarch64.commit)"
|
|
||||||
patches_dir="${kata_dir}/tools/packaging/qemu/patches/$(echo ${branch} | sed -e 's/.[[:digit:]]*$//' -e 's/^v//').x"
|
|
||||||
patches_version_dir="${kata_dir}/tools/packaging/qemu/patches/tag_patches/${branch}"
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
branch="$(${yq} r ${versions_file} assets.hypervisor.qemu.version)"
|
branch="$(${yq} r ${versions_file} assets.hypervisor.qemu.version)"
|
||||||
url="$(${yq} r ${versions_file} assets.hypervisor.qemu.url)"
|
url="$(${yq} r ${versions_file} assets.hypervisor.qemu.url)"
|
||||||
commit=""
|
commit=""
|
||||||
patches_dir="${kata_dir}/tools/packaging/qemu/patches/$(echo ${branch} | sed -e 's/.[[:digit:]]*$//' -e 's/^v//').x"
|
patches_dir="${kata_dir}/tools/packaging/qemu/patches/$(echo ${branch} | sed -e 's/.[[:digit:]]*$//' -e 's/^v//').x"
|
||||||
patches_version_dir="${kata_dir}/tools/packaging/qemu/patches/tag_patches/${branch}"
|
patches_version_dir="${kata_dir}/tools/packaging/qemu/patches/tag_patches/${branch}"
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# download source
|
# download source
|
||||||
qemu_dir=${SNAPCRAFT_STAGE}/qemu
|
qemu_dir=${SNAPCRAFT_STAGE}/qemu
|
||||||
|
@ -98,12 +98,6 @@ assets:
|
|||||||
uscan-url: >-
|
uscan-url: >-
|
||||||
https://github.com/qemu/qemu/tags
|
https://github.com/qemu/qemu/tags
|
||||||
.*/v?(\d\S+)\.tar\.gz
|
.*/v?(\d\S+)\.tar\.gz
|
||||||
architecture:
|
|
||||||
aarch64:
|
|
||||||
version: "v5.1.0"
|
|
||||||
branch: "master"
|
|
||||||
tag: "v5.1.0"
|
|
||||||
commit: "d0ed6a69d399ae193959225cdeaa9382746c91cc"
|
|
||||||
|
|
||||||
qemu-experimental:
|
qemu-experimental:
|
||||||
description: "QEMU with virtiofs support"
|
description: "QEMU with virtiofs support"
|
||||||
|
Loading…
Reference in New Issue
Block a user