Skip to content

Commit

Permalink
ci: Use proper uname argument to get the HW type
Browse files Browse the repository at this point in the history
The -i option is not portable and doesn't work
on all platforms. Use -m instead.

Fixes: 87f3c23 ("utilities: Add simple container automation")
Signed-off-by: Ales Musil <amusil@redhat.com>
Acked-by: Simon Horman <horms@ovn.org>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
  • Loading branch information
almusil authored and putnopvut committed Oct 18, 2023
1 parent 0b512d7 commit c013529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}


Expand Down

0 comments on commit c013529

Please sign in to comment.