1 |
commit: a8c367191320a44b435ce9f9b64a4b72f5e4f7da |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 3 05:03:46 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 05:03:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a8c36719 |
7 |
|
8 |
gen_compile: lvm: support lvmetad and more targets: thin, cache, raid |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
gen_compile.sh | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/gen_compile.sh b/gen_compile.sh |
16 |
index 30d5299..f3f9ef1 100755 |
17 |
--- a/gen_compile.sh |
18 |
+++ b/gen_compile.sh |
19 |
@@ -505,6 +505,8 @@ compile_lvm() { |
20 |
--prefix=/ |
21 |
--enable-dmeventd |
22 |
--enable-cmdlib |
23 |
+ --enable-lib |
24 |
+ --enable-lvmetad |
25 |
--with-lvm1=internal |
26 |
--with-clvmd=none |
27 |
--with-cluster=none |
28 |
@@ -513,6 +515,9 @@ compile_lvm() { |
29 |
--with-mirrors=internal |
30 |
--with-snapshots=internal |
31 |
--with-pool=internal |
32 |
+ --with-thin=internal |
33 |
+ --with-cache=internal |
34 |
+ --with-raid=internal |
35 |
) |
36 |
CFLAGS="-fPIC" \ |
37 |
./configure "${LVM_CONF[@]}" \ |