mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 06:34:03 +00:00
kata-deploy: Fix static shim-v2 build on arm64
Following Jong Wu suggestion, let's link /usr/bin/musl-gcc to
/usr/bin/aarch64-linux-musl-gcc.
Fixes: #6320
Signed-off-by: SinghWang <wangxin_0611@126.com>
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
(cherry picked from commit b4a1527aa6
)
Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
592ecdb671
commit
6977074930
@ -58,6 +58,10 @@ case "${ARCH}" in
|
||||
aarch64)
|
||||
goarch=arm64
|
||||
LIBC=musl
|
||||
# This is a hack needed as part of Ubuntu 20.04
|
||||
if [ ! -f /usr/bin/aarch64-linux-musl-gcc ]; then
|
||||
ln -sf /usr/bin/musl-gcc /usr/bin/aarch64-linux-musl-gcc
|
||||
fi
|
||||
;;
|
||||
ppc64le)
|
||||
goarch=${ARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user