This repository was archived by the owner on Jun 28, 2024. It is now read-only.
Commit 7fa3e51 1 parent b1c8cdd commit 7fa3e51 Copy full SHA for 7fa3e51
File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ main() {
77
77
experimental)
78
78
build_and_install_kernel " kernel-experimental"
79
79
;;
80
+ arm-experimental)
81
+ build_and_install_kernel " kernel-arm-experimental"
82
+ rm -f /opt/kata/share/kata-containers/vmlinux.container
83
+ ln -s /opt/kata/share/kata-containers/vmlinux-arch-experimental.container /opt/kata/share/kata-containers/vmlinux.container
84
+ ;;
80
85
vanilla)
81
86
build_and_install_kernel " kernel"
82
87
;;
Original file line number Diff line number Diff line change @@ -90,13 +90,16 @@ main() {
90
90
vanilla)
91
91
qemu_type=" qemu"
92
92
;;
93
+ arm-experimental)
94
+ qemu_type=" qemu-arm-experimental"
95
+ ;;
93
96
* )
94
97
die_unsupported_qemu_type " $qemu_type "
95
98
;;
96
99
esac
97
100
98
101
case ${QEMU_ARCH} in
99
- " aarch64 " | " ppc64le" )
102
+ " ppc64le" )
100
103
# We're still no there for using the kata-deploy
101
104
# scripts with ppc64le and aarch64.
102
105
CURRENT_QEMU_VERSION=$( get_version " assets.hypervisor.qemu.version" )
@@ -110,8 +113,10 @@ main() {
110
113
111
114
build_and_install_qemu
112
115
;;
113
- " x86_64" |" s390x" )
116
+ " aarch64 " | " x86_64" |" s390x" )
114
117
build_static_artifact_and_install " ${qemu_type} "
118
+ rm -f /opt/kata/bin/qemu-system-aarch64
119
+ ln -s /opt/kata/bin/qemu-system-aarch64-arm-experimental /opt/kata/bin/qemu-system-aarch64
115
120
;;
116
121
* )
117
122
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() {
173
173
174
174
clone_katacontainers_repo
175
175
176
- pushd " $katacontainers_repo_dir " > /dev/null
176
+ pushd " $katacontainers_repo_dir /tools/packaging/kata-deploy/local-build " > /dev/null
177
177
sudo -E PATH=$PATH make " $make_target "
178
+ pwd
178
179
sudo tar -xvJpf " build/${tarball} " -C " ${destdir} "
179
180
sudo rm -rf " build/"
180
181
popd > /dev/null
You can’t perform that action at this time.
0 commit comments