Override XDG_CONFIG_DIRS to make virt-builder use global configuration.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 18 Apr 2016 12:56:24 +0000 (13:56 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 18 Apr 2016 12:56:24 +0000 (13:56 +0100)
Fixes 'make check-slow'.

config.ml

index dddf5a5..d33bb58 100644 (file)
--- 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