From d94090dae6e20135f0e9ba8ca0a645f2e3470a48 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Wed, 26 Jun 2024 14:37:17 +0200 Subject: [PATCH 11/13] scripts: Install services for devices file init Services introduced in commit c609dedc2f035f770b5f645c4695924abf15c2ca need installing. (cherry picked from commit 1b9bf5007bbfba5bcd622f039a099e6f7e0a8162) --- scripts/Makefile.in | 2 ++ spec/packages.inc | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.45.2