summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-06-30 14:09:00 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2015-06-30 14:09:05 +0200
commit89d355ea04560dba54aa8b7b5a20950b9eb3f653 (patch)
tree76812a25156305b8874a55c7cd38605ace29c6f7 /conf
parentd7b9349ce71f2747eb7d0a8992244bc3d34719be (diff)
downloadlvm2-89d355ea04560dba54aa8b7b5a20950b9eb3f653.tar.gz
configure: set DEFAULT_FALLBACK_TO_LVM1 in configure and use it in config_settings.h
Just like we have DEFAULT_USE_LVMETAD (or DEFUALT_USE_LVMPOLLD), use fallback_to_lvm1=1 lvm.conf setting if we configured lvm2 with --enable-lvm1-fallback and use fallback_to_lvm1=0 otherwise. Also, generate proper lvm.conf.in with unconfigured value.
Diffstat (limited to 'conf')
-rw-r--r--conf/example.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in
index 45201628d..9af58db70 100644
--- a/conf/example.conf.in
+++ b/conf/example.conf.in
@@ -602,7 +602,7 @@ global {
# The LVM1 tools need to be installed with .lvm1 suffices,
# e.g. vgscan.lvm1. They will stop working once the lvm2
# on-disk metadata format is used.
- # fallback_to_lvm1 = 1
+ # fallback_to_lvm1 = @DEFAULT_FALLBACK_TO_LVM1@
# Configuration option global/format.
# The default metadata format that commands should use.