mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
snap: fix snap build on ppc64le
Fixes the syntax error while building rustdeps. Fixes: #4494 Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
This commit is contained in:
parent
6fd40085ef
commit
0bbbe70687
@ -74,7 +74,7 @@ parts:
|
|||||||
rustup toolchain install ${version}
|
rustup toolchain install ${version}
|
||||||
rustup default ${version}
|
rustup default ${version}
|
||||||
if [ "${arch}" == "ppc64le" ] || [ "${arch}" == "s390x" ] ; then
|
if [ "${arch}" == "ppc64le" ] || [ "${arch}" == "s390x" ] ; then
|
||||||
[ ${arch} == "ppc64le"] && arch="powerpc64le"
|
[ "${arch}" == "ppc64le" ] && arch="powerpc64le"
|
||||||
rustup target add ${arch}-unknown-linux-gnu
|
rustup target add ${arch}-unknown-linux-gnu
|
||||||
else
|
else
|
||||||
rustup target add ${arch}-unknown-linux-musl
|
rustup target add ${arch}-unknown-linux-musl
|
||||||
|
Loading…
Reference in New Issue
Block a user