From 2efc23f3edf0293ec81a167e1c4bf99fe5601ca2 Mon Sep 17 00:00:00 2001 From: Ales Musil Date: Tue, 17 Oct 2023 08:19:39 +0200 Subject: [PATCH] ci: Use proper uname argument to get the HW type The -i option is not portable and doesn't work on all platforms. Use -m instead. Fixes: 87f3c2364a5b ("utilities: Add simple container automation") Signed-off-by: Ales Musil Acked-by: Simon Horman Signed-off-by: Mark Michelson --- .ci/ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci.sh b/.ci/ci.sh index 10f11939c5..6bb211f2c4 100755 --- a/.ci/ci.sh +++ b/.ci/ci.sh @@ -23,7 +23,7 @@ CONTAINER_WORKDIR="/workspace/ovn-tmp" IMAGE_NAME=${IMAGE_NAME:-"ovn-org/ovn-tests"} # Test variables -ARCH=${ARCH:-$(uname -i)} +ARCH=${ARCH:-$(uname -m)} CC=${CC:-gcc}