Skip to content

Commit 9a4eeaa

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "CI: Add qemu-user-static back"
2 parents 64f171c + 4c9113f commit 9a4eeaa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

roles/kolla-build-deps/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@
6262
path: "{{ '/run/docker.sock' if container_engine == 'docker' else '/run/podman/podman.sock' }}"
6363
mode: "0666"
6464
become: true
65+
66+
- name: Run multiarch/qemu-user-static image to support cross-arch build
67+
ansible.builtin.command:
68+
cmd: "{{ container_engine }} run --rm --privileged multiarch/qemu-user-static --reset -p yes"
69+
become: true
70+
when: ansible_facts.architecture != (base_arch | default('x86_64'))

0 commit comments

Comments
 (0)