ceph: remove fuse related services as WITH_FUSE is OFF

We have WITH_FUSE to set to OFF. We should not install any ceph-fuse
units as they are using ceph-fuse.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Chen Qi 2019-08-29 14:41:37 +08:00 committed by Bruce Ashfield
parent a822d7630b
commit e87e6fdcbc

View File

@ -32,8 +32,6 @@ SYSTEMD_SERVICE_${PN} = " \
ceph-osd@.service \ ceph-osd@.service \
ceph-osd.target \ ceph-osd.target \
ceph.target \ ceph.target \
ceph-fuse@.service \
ceph-fuse.target \
ceph-rbd-mirror@.service \ ceph-rbd-mirror@.service \
ceph-rbd-mirror.target \ ceph-rbd-mirror.target \
ceph-volume@.service \ ceph-volume@.service \
@ -77,6 +75,8 @@ do_install_append () {
mv ${D}${libexecdir}/systemd/system ${D}${systemd_unitdir} mv ${D}${libexecdir}/systemd/system ${D}${systemd_unitdir}
mv ${D}${libexecdir}/ceph/ceph-osd-prestart.sh ${D}${libdir}/ceph mv ${D}${libexecdir}/ceph/ceph-osd-prestart.sh ${D}${libdir}/ceph
mv ${D}${libexecdir}/ceph/ceph_common.sh ${D}${libdir}/ceph mv ${D}${libexecdir}/ceph/ceph_common.sh ${D}${libdir}/ceph
# WITH_FUSE is set to OFF, remove ceph-fuse related units
rm ${D}${systemd_unitdir}/system/ceph-fuse.target ${D}${systemd_unitdir}/system/ceph-fuse@.service
} }
FILES_${PN} += "\ FILES_${PN} += "\