Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- config/rootfiles/common/lvm2 | 4 ++++ lfs/lvm2 | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/config/rootfiles/common/lvm2 b/config/rootfiles/common/lvm2 index 3c8187d00..5d2810450 100644 --- a/config/rootfiles/common/lvm2 +++ b/config/rootfiles/common/lvm2 @@ -9,6 +9,10 @@ etc/lvm/lvm.conf #etc/lvm/profile/metadata_profile_template.profile #etc/lvm/profile/thin-generic.profile #etc/lvm/profile/thin-performance.profile +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/95-dm-notify.rules #usr/include/libdevmapper.h #usr/lib/libdevmapper.so usr/lib/libdevmapper.so.1.02 diff --git a/lfs/lvm2 b/lfs/lvm2 index fe6974279..63c338f3f 100644 --- a/lfs/lvm2 +++ b/lfs/lvm2 @@ -78,7 +78,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) ./configure \ --prefix=/usr \ --with-usrlibdir=/usr/lib \ - --enable-pkgconfig + --enable-pkgconfig \ + --with-udevdir=/lib/udev/rules.d \ + --enable-udev_rules \ + --enable-udev_sync cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)