mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
lvm2: remove service template from SYSTEMD_SERVICE
Remove systemd service template lvm2-pvscan@.service from SYSTEMD_SERVICE. It should be started/stopped in udev rules file 69-dm-lvm-metad.rules. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ PACKAGE_BEFORE_PN = "${PN}-scripts ${PN}-udevrules"
|
|||||||
|
|
||||||
SYSTEMD_PACKAGES = "${PN}"
|
SYSTEMD_PACKAGES = "${PN}"
|
||||||
SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \
|
SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \
|
||||||
blk-availability.service lvm2-pvscan@.service"
|
blk-availability.service"
|
||||||
SYSTEMD_AUTO_ENABLE = "disable"
|
SYSTEMD_AUTO_ENABLE = "disable"
|
||||||
|
|
||||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||||
@@ -52,7 +52,11 @@ FILES_libdevmapper = " \
|
|||||||
${sbindir}/dmstats \
|
${sbindir}/dmstats \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN} += "${libdir}/device-mapper/*.so"
|
FILES_${PN} += " \
|
||||||
|
${libdir}/device-mapper/*.so \
|
||||||
|
${systemd_system_unitdir}/lvm2-pvscan@.service \
|
||||||
|
"
|
||||||
|
|
||||||
FILES_${PN}-scripts = " \
|
FILES_${PN}-scripts = " \
|
||||||
${sbindir}/blkdeactivate \
|
${sbindir}/blkdeactivate \
|
||||||
${sbindir}/fsadm \
|
${sbindir}/fsadm \
|
||||||
|
|||||||
Reference in New Issue
Block a user