Make sure the right architecture binary is used for crun
in order to enable ARM64 testing on GitHub actions.

Signed-off-by: Ales Musil <[email protected]>
---
 .ci/linux-util.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/linux-util.sh b/.ci/linux-util.sh
index 0b42aae9d..3b98bdfc4 100755
--- a/.ci/linux-util.sh
+++ b/.ci/linux-util.sh
@@ -56,7 +56,8 @@ function disable_apparmor()
 function fixup_crun()
 {
     crun --version
-    sudo curl -L 
"https://github.com/containers/crun/releases/download/1.28/crun-1.28-linux-amd64";
 \
+    local arch=$(dpkg --print-architecture)
+    sudo curl -L 
"https://github.com/containers/crun/releases/download/1.28/crun-1.28-linux-${arch}";
 \
         -o /usr/bin/crun
     sudo chmod +x /usr/bin/crun
     echo "New crun version: "$(crun --version)
-- 
2.55.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to