[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/8] scripts/ci/setup: spice-server only on x86 aarch64
From: |
Lucas Mateus Castro(alqotel) |
Subject: |
[PATCH 4/8] scripts/ci/setup: spice-server only on x86 aarch64 |
Date: |
Wed, 27 Jul 2022 13:36:28 -0300 |
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>
---
scripts/ci/setup/build-environment.yml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/scripts/ci/setup/build-environment.yml
b/scripts/ci/setup/build-environment.yml
index 7535228685..43cf8c759f 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'
--
2.25.1
- [PATCH 0/8] Patch series to set up a ppc64le CI, Lucas Mateus Castro(alqotel), 2022/07/27
- [PATCH 3/8] scripts/ci/setup: Fix libxen requirements, Lucas Mateus Castro(alqotel), 2022/07/27
- [PATCH 1/8] tests/docker: Fix alpine dockerfile, Lucas Mateus Castro(alqotel), 2022/07/27
- [PATCH 2/8] scripts/ci/setup: ninja missing from build-environment, Lucas Mateus Castro(alqotel), 2022/07/27
- [PATCH 5/8] scripts/ci/setup: Add ppc64le to vars.yml template, Lucas Mateus Castro(alqotel), 2022/07/27
- [PATCH 6/8] scripts/ci/setup: Add Fedora to build-environment.yml, Lucas Mateus Castro(alqotel), 2022/07/27
- [PATCH 4/8] scripts/ci/setup: spice-server only on x86 aarch64,
Lucas Mateus Castro(alqotel) <=
- [PATCH 7/8] scripts/ci/setup: Added debian to build-environment.yml, Lucas Mateus Castro(alqotel), 2022/07/27
- [RFC PATCH 8/8] tests/docker: Selective line reading by python script, Lucas Mateus Castro(alqotel), 2022/07/27