From 18d2513ab3a62afade406633ee7587d4568deabf Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 18 Apr 2016 13:56:24 +0100 Subject: [PATCH] Override XDG_CONFIG_DIRS to make virt-builder use global configuration. Fixes 'make check-slow'. --- config.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.ml b/config.ml index dddf5a5..d33bb58 100644 --- a/config.ml +++ b/config.ml @@ -46,6 +46,9 @@ let libguestfs_localconfigure source = let libguestfs_localenv supermin = "\ +# Use the real virt-builder configuration from /etc. +export XDG_CONFIG_DIRS=/etc + # Fails under valgrind because of a leak in the fuse library, # although I could not work out exactly why. export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1 -- 1.8.3.1