diff --git a/scripts/Makefile.in b/scripts/Makefile.in index a79edbd4d..f683b7ab1 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -108,6 +108,8 @@ endif ifeq ("@BUILD_LVMDBUSD@", "yes") $(Q) $(INSTALL_DATA) lvm2_lvmdbusd_systemd_red_hat.service $(systemd_unit_dir)/lvm2-lvmdbusd.service endif + $(Q) $(INSTALL_DATA) lvm-devices-import.path $(systemd_unit_dir)/lvm-devices-import.path + $(Q) $(INSTALL_DATA) lvm-devices-import.service $(systemd_unit_dir)/lvm-devices-import.service ifeq ("@BUILD_LVMDBUSD@", "yes") install_dbus_service: diff --git a/spec/packages.inc b/spec/packages.inc index 05733e0df..ee67af590 100644 --- a/spec/packages.inc +++ b/spec/packages.inc @@ -193,6 +193,8 @@ fi %{_unitdir}/lvm2-lvmpolld.service %{_unitdir}/lvm2-lvmpolld.socket %endif + %{_unitdir}/lvm-devices-import.service + %{_unitdir}/lvm-devices-import.path %else %{_sysconfdir}/rc.d/init.d/blk-availability %{_sysconfdir}/rc.d/init.d/lvm2-monitor