On a Thursday in 2020, Pavel Hrdina wrote:
We have two functions to set that we want to override directory where
to
look for libvirt files, one checks the binary name and the other one
checks env variable.
This patch removes the binary name check to simplify code by using only
the env variable.
This change will be required for Meson introduction where the binary
name doesn't have any prefix by default.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/libvirt.c | 2 +-
src/libvirt_private.syms | 3 +--
src/locking/lock_daemon.c | 2 +-
src/logging/log_daemon.c | 2 +-
src/qemu/qemu_shim.c | 2 +-
src/remote/remote_daemon.c | 2 +-
src/security/virt-aa-helper.c | 2 +-
src/util/virfile.c | 25 +------------------------
src/util/virfile.h | 4 +---
tests/Makefile.am | 1 +
tests/qemucapsprobe.c | 2 +-
tests/testutils.c | 2 +-
tools/virsh.c | 2 +-
tools/virt-admin.c | 2 +-
14 files changed, 14 insertions(+), 39 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano