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:
parent
1b3adcceea
commit
d23ff5befd
@ -51,17 +51,17 @@ rpm_verify() {
|
|||||||
return $ret
|
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 /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)"
|
test -d /var/log/libvirt/libxl && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/libxl/ -type f | sort)"
|
||||||
fi
|
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 /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)"
|
test -d /var/log/libvirt/qemu && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/qemu/ -type f | sort)"
|
||||||
fi
|
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 /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)"
|
test -d /var/log/libvirt/lxc && LIBVIRTD_LOG_FILES="$LIBVIRTD_LOG_FILES $(find -L /var/log/libvirt/lxc/ -type f | sort)"
|
||||||
fi
|
fi
|
||||||
|
@ -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>
|
Mon Aug 2 20:44:29 UTC 2021 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user