mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
ci: Do not take cross-build into consideration for kata-arch.sh
Right now we'd need to import lib.sh just in order to get cross-build information for rust, and it seems a little bit premature to do so at this stage and only for rust. Let's skip it and keep this transition simple. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
6a76bf92cb
commit
8653be71b2
@ -10,7 +10,6 @@ set -e
|
||||
typeset -r script_name=${0##*/}
|
||||
|
||||
typeset -r cidir=$(dirname "$0")
|
||||
source "${cidir}/lib.sh"
|
||||
|
||||
function usage() {
|
||||
cat <<EOF
|
||||
@ -48,10 +47,9 @@ function arch_to_rust() {
|
||||
|
||||
if [ "${arch}" == "ppc64le" ]; then
|
||||
arch="powerpc64le"
|
||||
ARCH="${arch}"
|
||||
fi
|
||||
|
||||
[ "${CROSS_BUILD}" == "false" ] && echo "${arch}" || echo "${ARCH}"
|
||||
echo "${arch}"
|
||||
}
|
||||
|
||||
# Convert architecture to the name used by the Linux kernel build system
|
||||
|
Loading…
Reference in New Issue
Block a user