Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
correct tarball build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jongwu committed Nov 14, 2023
1 parent b1c8cdd commit 698a9d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .ci/install_kata_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ main() {
experimental)
build_and_install_kernel "kernel-experimental"
;;
arm-experimental)
build_and_install_kernel "kernel-arm-experimental"
;;
vanilla)
build_and_install_kernel "kernel"
;;
Expand Down
9 changes: 7 additions & 2 deletions .ci/install_qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,16 @@ main() {
vanilla)
qemu_type="qemu"
;;
arm-experimental)
qemu_type="qemu-arm-experimental"
;;
*)
die_unsupported_qemu_type "$qemu_type"
;;
esac

case ${QEMU_ARCH} in
"aarch64"|"ppc64le")
"ppc64le")
# We're still no there for using the kata-deploy
# scripts with ppc64le and aarch64.
CURRENT_QEMU_VERSION=$(get_version "assets.hypervisor.qemu.version")
Expand All @@ -110,8 +113,10 @@ main() {

build_and_install_qemu
;;
"x86_64"|"s390x")
"aarch64"|"x86_64"|"s390x")
build_static_artifact_and_install "${qemu_type}"
sudo rm -f /opt/kata/bin/qemu-system-aarch64
sudo ln -s /opt/kata/bin/qemu-system-aarch64-arm-experimental /opt/kata/bin/qemu-system-aarch64
;;
*)
die "Architecture ${QEMU_ARCH} not supported"
Expand Down
3 changes: 2 additions & 1 deletion .ci/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ function build_static_artifact_and_install() {

clone_katacontainers_repo

pushd "$katacontainers_repo_dir" >/dev/null
pushd "$katacontainers_repo_dir/tools/packaging/kata-deploy/local-build" >/dev/null
sudo -E PATH=$PATH make "$make_target"
pwd
sudo tar -xvJpf "build/${tarball}" -C "${destdir}"
sudo rm -rf "build/"
popd >/dev/null
Expand Down

0 comments on commit 698a9d3

Please sign in to comment.