1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

udev: 69-dm-lvm-metad.rules is still needed

This commit is contained in:
Marian Csontos 2018-12-06 10:50:42 +01:00
parent 92b0d014aa
commit 21784e94d6
2 changed files with 2 additions and 4 deletions

View File

@ -150,6 +150,7 @@ fi
%endif %endif
%if %{enable_udev} %if %{enable_udev}
%{_udevdir}/11-dm-lvm.rules %{_udevdir}/11-dm-lvm.rules
%{_udevdir}/69-dm-lvm-metad.rules
%endif %endif
%dir %{_sysconfdir}/lvm %dir %{_sysconfdir}/lvm
%ghost %{_sysconfdir}/lvm/cache/.cache %ghost %{_sysconfdir}/lvm/cache/.cache

View File

@ -18,10 +18,7 @@ top_builddir = @top_builddir@
include $(top_builddir)/make.tmpl include $(top_builddir)/make.tmpl
DM_RULES=10-dm.rules 13-dm-disk.rules 95-dm-notify.rules DM_RULES=10-dm.rules 13-dm-disk.rules 95-dm-notify.rules
LVM_RULES=11-dm-lvm.rules LVM_RULES=11-dm-lvm.rules 69-dm-lvm-metad.rules
ifeq ("@BUILD_LVMETAD@", "yes")
LVM_RULES+=69-dm-lvm-metad.rules
endif
DM_DIR=$(shell $(GREP) "\#define DM_DIR" $(top_srcdir)/libdm/misc/dm-ioctl.h | $(AWK) '{print $$3}') DM_DIR=$(shell $(GREP) "\#define DM_DIR" $(top_srcdir)/libdm/misc/dm-ioctl.h | $(AWK) '{print $$3}')