lvm2: remove service template from SYSTEMD_SERVICE
PATCH 1/1 lvm2: remove service template from SYSTEMD_SERVICE
From: Kai Kang <[email protected]>
Remove systemd service template [email protected] from SYSTEMD_SERVICE. It should be started/stopped in udev rules file 69-dm-lvm-metad.rules.
Signed-off-by Kai Kang <[email protected]>
--- meta-oe/recipes-support/lvm2/lvm2_2.03.06.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
meta-oe/recipes-support/lvm2/lvm2_2.03.06.bb +6 -2
@@ -32,7 +32,7 @@ PACKAGE_BEFORE_PN = "${PN}-scripts ${PN}-udevrules" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \ - blk-availability.service [email protected]" + blk-availability.service" SYSTEMD_AUTO_ENABLE = "disable" TARGET_CC_ARCH += "${LDFLAGS}"
@@ -52,7 +52,11 @@ FILES_libdevmapper = " \ ${sbindir}/dmstats \ " -FILES_${PN} += "${libdir}/device-mapper/*.so" +FILES_${PN} += " \ + ${libdir}/device-mapper/*.so \ + ${systemd_system_unitdir}/[email protected] \ +" + FILES_${PN}-scripts = " \ ${sbindir}/blkdeactivate \ ${sbindir}/fsadm \
Signature · 1 line
2.17.1