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

[lvm-devel] [PATCH] Fix 'make check' to use dmsetup built in DMDIR



If DMDIR is specified in configuration script,
'make check' should use it to check DM_DEV_DIR support.

-- 
Jun'ichi Nomura, NEC Corporation of America
Index: LVM2.work/test/Makefile.in
===================================================================
--- LVM2.work.orig/test/Makefile.in
+++ LVM2.work/test/Makefile.in
@@ -56,6 +56,7 @@ $(T): init.sh
 	for i in lvm $$(cat $(top_srcdir)/tools/.commands); do \
 	  ln -s ../lvm-wrapper bin/$$i; \
 	done
+	test -n "@DMDIR@" && ln -s "@DMDIR@/dmsetup/dmsetup" bin/dmsetup
 	touch $@
 
 lvm-wrapper: Makefile

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