SHA256
1
0
forked from pool/libvirt

- supportconfig: When checking for installed hypervisor drivers,

use the libvirtr-daemon-driver-<hypervisor> package instead of
  libvirt-daemon-<hypervisor>. The latter are not required packages
  for a functioning hypervisor driver.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=902
This commit is contained in:
James Fehlig 2021-08-11 17:37:08 +00:00 committed by Git OBS Bridge
parent 1b3adcceea
commit d23ff5befd
2 changed files with 11 additions and 3 deletions

View File

@ -51,17 +51,17 @@ rpm_verify() {
return $ret
}
if rpm_installed libvirt-daemon-xen; then
if rpm_installed libvirt-daemon-driver-libxl; then
test -d /etc/libvirt/libxl && VM_CONF_FILES="$VM_CONF_FILES $(find -L /etc/libvirt/libxl/ -type f | sort)"
test -d /var/log/libvirt/libxl && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/libxl/ -type f | sort)"
fi
if rpm_installed libvirt-daemon-qemu; then
if rpm_installed libvirt-daemon-driver-qemu; then
test -d /etc/libvirt/qemu && VM_CONF_FILES="$VM_CONF_FILES $(find -L /etc/libvirt/qemu/ -type f | sort)"
test -d /var/log/libvirt/qemu && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/qemu/ -type f | sort)"
fi
if rpm_installed libvirt-daemon-lxc; then
if rpm_installed libvirt-daemon-driver-lxc; then
test -d /etc/libvirt/lxc && VM_CONF_FILES="$VM_CONF_FILES $(find -L /etc/libvirt/lxc/ -type f | sort)"
test -d /var/log/libvirt/lxc && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/lxc/ -type f | sort)"
fi

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 11 17:31:50 UTC 2021 - James Fehlig <jfehlig@suse.com>
- supportconfig: When checking for installed hypervisor drivers,
use the libvirtr-daemon-driver-<hypervisor> package instead of
libvirt-daemon-<hypervisor>. The latter are not required packages
for a functioning hypervisor driver.
-------------------------------------------------------------------
Mon Aug 2 20:44:29 UTC 2021 - James Fehlig <jfehlig@suse.com>