Skip to content

Commit

Permalink
scripts/ci/setup: Fix libxen requirements
Browse files Browse the repository at this point in the history
XEN hypervisor is only available in ARM and x86, but the yaml only
checked if the architecture is different from s390x, changed it to
a more accurate test.
Tested this change on a Ubuntu 20.04 ppc64le.

Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220922135516.33627-3-lucas.araujo@eldorado.org.br>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220929114231.583801-3-alex.bennee@linaro.org>
  • Loading branch information
Lucas Mateus Castro (alqotel) authored and stsquad committed Oct 5, 2022
1 parent 6aab7bc commit 33999ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/setup/build-environment.yml
Expand Up @@ -97,7 +97,7 @@
state: present
when:
- ansible_facts['distribution'] == 'Ubuntu'
- ansible_facts['architecture'] != 's390x'
- ansible_facts['architecture'] == 'aarch64' or ansible_facts['architecture'] == 'x86_64'

- name: Install basic packages to build QEMU on Ubuntu 20.04
package:
Expand Down

0 comments on commit 33999ec

Please sign in to comment.