From eb873abef2cf94ff32afd4a8d3639f05d4967d56 Mon Sep 17 00:00:00 2001 From: aydemir Date: Sun, 13 Mar 2016 23:23:22 +0200 Subject: [PATCH] lvm2 add options --- hardware/disk/lvm2/actions.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/hardware/disk/lvm2/actions.py b/hardware/disk/lvm2/actions.py index 2b9dbd8e..632d7184 100644 --- a/hardware/disk/lvm2/actions.py +++ b/hardware/disk/lvm2/actions.py @@ -19,7 +19,15 @@ def builddiet(): autotools.make("distclean") autotools.autoreconf("-fi") - autotools.configure('ac_cv_lib_dl_dlopen=no \ + autotools.configure('--with-thin-check= \ + --with-thin-dump= \ + --with-thin-repair= \ + --with-thin-restore= \ + --with-cache-check= \ + --with-cache-dump= \ + --with-cache-repair= \ + --with-cache-restore= \ + ac_cv_lib_dl_dlopen=no \ --with-staticdir="/sbin" \ --enable-debug \ --with-optimisation=\"%s -Os\" \ @@ -58,7 +66,15 @@ def setup(): pisitools.dosed("conf/example.conf.in", "use_lvmetad = 0", "use_lvmetad = 1") autotools.autoreconf("-fi") - autotools.configure("--enable-lvm1_fallback \ + autotools.configure("--with-thin-check= \ + --with-thin-dump= \ + --with-thin-repair= \ + --with-thin-restore= \ + --with-cache-check= \ + --with-cache-dump= \ + --with-cache-repair= \ + --with-cache-restore= \ + --enable-lvm1_fallback \ --with-default-pid-dir=/run \ --with-default-run-dir=/run/lvm \ --with-default-locking-dir=/run/lock/lvm \