mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 08:28:34 +00:00
tools: avoid rootfs-image build "ln -s" error
Avoid error when building for amd64 using: USE_CACHE=no AGENT_POLICY=yes DEBUG=1 \ tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh \ --build=rootfs-image Fixes: #9067 Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -31,6 +31,6 @@ RUN apt-get update && \
|
||||
protobuf-compiler \
|
||||
xz-utils
|
||||
# aarch64 requires this name -- link for all
|
||||
RUN ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
|
||||
RUN if [ ! -f "/usr/bin/$(uname -m)-linux-musl-gcc" ]; then ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"; fi
|
||||
|
||||
@INSTALL_RUST@
|
||||
|
Reference in New Issue
Block a user