summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLucas Mateus Castro (alqotel)2022-09-29 13:41:42 +0200
committerAlex Bennée2022-10-06 12:53:20 +0200
commit561612f9c20d4c76d23c3051fa7b47bb13123c74 (patch)
tree3c058ec523327793db01327ac1269e1cbedef324 /scripts
parentscripts/ci/setup: ninja missing from build-environment (diff)
downloadqemu-561612f9c20d4c76d23c3051fa7b47bb13123c74.tar.gz
qemu-561612f9c20d4c76d23c3051fa7b47bb13123c74.tar.xz
qemu-561612f9c20d4c76d23c3051fa7b47bb13123c74.zip
scripts/ci/setup: Fix libxen requirements
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/setup/build-environment.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml
index b5acaf9118..49292715d3 100644
--- a/scripts/ci/setup/build-environment.yml
+++ b/scripts/ci/setup/build-environment.yml
@@ -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: