[3/5] lvm2: Enable lvmetad

Message ID 20200115152012.12345-3-michael.tremer@ipfire.org
State Accepted
Commit c835011d6ec0018892ed1ee69e8e32c7b2c4dc64
Headers
Series [1/5] lvm2: Ship with core system |

Commit Message

Michael Tremer Jan. 15, 2020, 3:20 p.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/common/lvm2 | 3 +++
 lfs/lvm2                     | 1 +
 2 files changed, 4 insertions(+)
  

Patch

diff --git a/config/rootfiles/common/lvm2 b/config/rootfiles/common/lvm2
index 5d2810450..258f3201f 100644
--- a/config/rootfiles/common/lvm2
+++ b/config/rootfiles/common/lvm2
@@ -12,6 +12,7 @@  etc/lvm/lvm.conf
 lib/udev/rules.d/10-dm.rules
 lib/udev/rules.d/11-dm-lvm.rules
 lib/udev/rules.d/13-dm-disk.rules
+lib/udev/rules.d/69-dm-lvm-metad.rules
 lib/udev/rules.d/95-dm-notify.rules
 #usr/include/libdevmapper.h
 #usr/lib/libdevmapper.so
@@ -31,6 +32,7 @@  usr/sbin/lvmconf
 usr/sbin/lvmconfig
 usr/sbin/lvmdiskscan
 usr/sbin/lvmdump
+usr/sbin/lvmetad
 usr/sbin/lvmsadc
 usr/sbin/lvmsar
 usr/sbin/lvreduce
@@ -91,6 +93,7 @@  usr/sbin/vgsplit
 #usr/share/man/man8/lvmconfig.8
 #usr/share/man/man8/lvmdiskscan.8
 #usr/share/man/man8/lvmdump.8
+#usr/share/man/man8/lvmetad.8
 #usr/share/man/man8/lvmsadc.8
 #usr/share/man/man8/lvmsar.8
 #usr/share/man/man8/lvreduce.8
diff --git a/lfs/lvm2 b/lfs/lvm2
index 63c338f3f..b95c47517 100644
--- a/lfs/lvm2
+++ b/lfs/lvm2
@@ -80,6 +80,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 			--with-usrlibdir=/usr/lib \
 			--enable-pkgconfig \
 			--with-udevdir=/lib/udev/rules.d \
+			--enable-lvmetad \
 			--enable-udev_rules \
 			--enable-udev_sync
 	cd $(DIR_APP) && make $(MAKETUNING)