[PATCH] Let test_virtlockd.aug find the libvird augeas lense

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otherwise we fail "make check" like:

    GEN      check-augeas-virtlockd
    Syntax error in lens definition
    test_virtlockd.aug:8.8-.20:Could not load module Libvirtd for Libvirtd.lns
    test_virtlockd.aug:8.8-.20:Undefined variable Libvirtd.lns

This doesn't show up on systems where libvirtd (and it's lenses) are
installed but in a clean chroot.
---
 src/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index d8b943d..bf2ec79 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1675,7 +1675,8 @@ check-augeas-lockd: test_libvirt_lockd.aug
 
 check-augeas-virtlockd: test_virtlockd.aug
 	$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
-	    '$(AUGPARSE)' -I $(srcdir)/locking test_virtlockd.aug; \
+	    '$(AUGPARSE)' -I $(top_srcdir)/daemon/ \
+	                  -I $(srcdir)/locking test_virtlockd.aug; \
 	fi
 
 #
-- 
1.8.4.rc3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]