In order to perform a libvirt `update` and `build` on a CentOS 8 guest,
a few changes in the mappings have been done.
The changes are:
- libssh2 is not longer present:
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#literal_libssh2_literal_is_not_available_in_rhel_8
- librbd1-devel has been replaced by librdb-devel:
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#package-replacements_changes-to-packages
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
---
guests/host_vars/libvirt-centos-8/main.yml | 3 +++
guests/vars/mappings.yml | 2 ++
jenkins/projects/libvirt.yaml | 1 +
3 files changed, 6 insertions(+)
diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml
index a147183..b924f1f 100644
--- a/guests/host_vars/libvirt-centos-8/main.yml
+++ b/guests/host_vars/libvirt-centos-8/main.yml
@@ -1,4 +1,7 @@
---
+projects:
+ - libvirt
+
package_format: 'rpm'
package_manager: 'dnf'
os_name: 'CentOS'
diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 56310f0..f0614a3 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -379,6 +379,7 @@ mappings:
deb: librbd-dev
Fedora: librbd-devel
CentOS7: librbd1-devel
+ CentOS8: librbd-devel
OpenSUSE: librbd-devel
cross-policy-deb: foreign
@@ -404,6 +405,7 @@ mappings:
deb: libssh2-1-dev
pkg: libssh2
rpm: libssh2-devel
+ CentOS8:
cross-policy-deb: foreign
libtirpc:
diff --git a/jenkins/projects/libvirt.yaml b/jenkins/projects/libvirt.yaml
index fdc24bc..fa8fb89 100644
--- a/jenkins/projects/libvirt.yaml
+++ b/jenkins/projects/libvirt.yaml
@@ -14,6 +14,7 @@
# commands with more arguments than FreeBSD supports
machines:
- libvirt-centos-7
+ - libvirt-centos-8
- libvirt-debian-9
- libvirt-debian-10
- libvirt-fedora-30
--
2.23.0
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list