1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man: fix generated paths

Use user configured paths instead of some developers paths ;)
This commit is contained in:
Zdenek Kabelac 2017-08-01 11:17:04 +02:00
parent 8256170e6a
commit c1b5f38bbe
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.174 -
=================================
Fix some paths in generated makefiles to respected configured settings.
Add warning when creating thin-pool with zeroing and chunk size >= 512KiB.
Introduce exit code 4 EINIT_FAILED to replace -1 when initialisation fails.
Add synchronization points with udev during reshape of raid LVs.

View File

@ -123,6 +123,7 @@ DEFAULT_CACHE_DIR = $(DEFAULT_SYS_DIR)/@DEFAULT_CACHE_SUBDIR@
DEFAULT_PROFILE_DIR = $(DEFAULT_SYS_DIR)/@DEFAULT_PROFILE_SUBDIR@
DEFAULT_LOCK_DIR = @DEFAULT_LOCK_DIR@
DEFAULT_RUN_DIR = @DEFAULT_RUN_DIR@
DEFAULT_PID_DIR = @DEFAULT_PID_DIR@
DEFAULT_MANGLING = @MANGLING@
# Setup vpath search paths for some suffixes

View File

@ -179,10 +179,10 @@ $(SED) -e "s+#VERSION#+$(LVM_VERSION)+" \
-e "s+#DEFAULT_PROFILE_DIR#+$(DEFAULT_PROFILE_DIR)+" \
-e "s+#DEFAULT_CACHE_DIR#+$(DEFAULT_CACHE_DIR)+" \
-e "s+#DEFAULT_LOCK_DIR#+$(DEFAULT_LOCK_DIR)+" \
-e "s+#CLVMD_PATH#+/data/lvmtest/usr/sbin/clvmd+" \
-e "s+#LVM_PATH#+/data/lvmtest/sbin/lvm+" \
-e "s+#DEFAULT_RUN_DIR#+/var/run/lvm+" \
-e "s+#DEFAULT_PID_DIR#+/var/run+" \
-e "s+#CLVMD_PATH#+$(exec_prefix)/clvmd+" \
-e "s+#LVM_PATH#+$(exec_prefix)/lvm+" \
-e "s+#DEFAULT_RUN_DIR#+$(DEFAULT_RUN_DIR)+" \
-e "s+#DEFAULT_PID_DIR#+$(DEFAULT_PID_DIR)+" \
-e "s+#SYSTEMD_GENERATOR_DIR#+$(SYSTEMD_GENERATOR_DIR)+" \
-e "s+#DEFAULT_MANGLING#+$(DEFAULT_MANGLING)+" $< > $@
endef