summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLucas Mateus Castro (alqotel)2022-09-29 13:41:43 +0200
committerAlex Bennée2022-10-06 12:53:20 +0200
commit556ede028d5b1dba6d88dc0cd34ab9b96fa59288 (patch)
tree151003cc64be23346fc17a1b90f484dbd929fdc4 /scripts
parentscripts/ci/setup: Fix libxen requirements (diff)
downloadqemu-556ede028d5b1dba6d88dc0cd34ab9b96fa59288.tar.gz
qemu-556ede028d5b1dba6d88dc0cd34ab9b96fa59288.tar.xz
qemu-556ede028d5b1dba6d88dc0cd34ab9b96fa59288.zip
scripts/ci/setup: spice-server only on x86 aarch64
Changed build-environment.yml to only install spice-server on x86_64 and aarch64 as this package is only available on those architectures. Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220922135516.33627-4-lucas.araujo@eldorado.org.br> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220929114231.583801-4-alex.bennee@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/setup/build-environment.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml
index 49292715d3..b04c2b7cee 100644
--- a/scripts/ci/setup/build-environment.yml
+++ b/scripts/ci/setup/build-environment.yml
@@ -160,7 +160,6 @@
- python36
- rdma-core-devel
- spice-glib-devel
- - spice-server
- systemtap-sdt-devel
- tar
- zlib-devel
@@ -168,3 +167,14 @@
when:
- ansible_facts['distribution_file_variety'] == 'RedHat'
- ansible_facts['distribution_version'] == '8'
+
+ - name: Install packages only available on x86 and aarch64
+ dnf:
+ # Spice server not available in ppc64le
+ name:
+ - spice-server
+ state: present
+ when:
+ - ansible_facts['distribution_file_variety'] == 'RedHat'
+ - ansible_facts['distribution_version'] == '8'
+ - ansible_facts['architecture'] == 'aarch64' or ansible_facts['architecture'] == 'x86_64'