This repository was archived by the owner on Jun 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1414kubernetes :
1515 - k8s-cpu-ns
1616 - k8s-limit-range
17- - k8s-number-cpus
1817 - k8s-expose-ip
1918 - k8s-oom
2019 - k8s-block-volume
Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ main() {
7777 experimental)
7878 build_and_install_kernel " kernel-experimental"
7979 ;;
80+ arm-experimental)
81+ build_and_install_kernel " kernel-arm-experimental"
82+ ;;
8083 vanilla)
8184 build_and_install_kernel " kernel"
8285 ;;
Original file line number Diff line number Diff line change @@ -90,13 +90,16 @@ main() {
9090 vanilla)
9191 qemu_type=" qemu"
9292 ;;
93+ arm-experimental)
94+ qemu_type=" qemu-arm-experimental"
95+ ;;
9396 * )
9497 die_unsupported_qemu_type " $qemu_type "
9598 ;;
9699 esac
97100
98101 case ${QEMU_ARCH} in
99- " aarch64 " | " ppc64le" )
102+ " ppc64le" )
100103 # We're still no there for using the kata-deploy
101104 # scripts with ppc64le and aarch64.
102105 CURRENT_QEMU_VERSION=$( get_version " assets.hypervisor.qemu.version" )
@@ -110,8 +113,13 @@ main() {
110113
111114 build_and_install_qemu
112115 ;;
113- " x86_64" |" s390x" )
116+ " aarch64 " | " x86_64" |" s390x" )
114117 build_static_artifact_and_install " ${qemu_type} "
118+ # Install UEFI ROM for qemu
119+ ENABLE_ARM64_UEFI=" ${ENABLE_ARM64_UEFI:- true} "
120+ [ " ${ENABLE_ARM64_UEFI} " == " true" ] && ${cidir} /aarch64/install_rom_aarch64.sh
121+ sudo rm -f /opt/kata/bin/qemu-system-aarch64
122+ sudo ln -s /opt/kata/bin/qemu-system-aarch64-arm-experimental /opt/kata/bin/qemu-system-aarch64
115123 ;;
116124 * )
117125 die " Architecture ${QEMU_ARCH} not supported"
Original file line number Diff line number Diff line change @@ -173,8 +173,9 @@ function build_static_artifact_and_install() {
173173
174174 clone_katacontainers_repo
175175
176- pushd " $katacontainers_repo_dir " > /dev/null
176+ pushd " $katacontainers_repo_dir /tools/packaging/kata-deploy/local-build " > /dev/null
177177 sudo -E PATH=$PATH make " $make_target "
178+ pwd
178179 sudo tar -xvJpf " build/${tarball} " -C " ${destdir} "
179180 sudo rm -rf " build/"
180181 popd > /dev/null
You can’t perform that action at this time.
0 commit comments