[meta-virtualization] [PATCH] ceph: remove fuse related services as WITH_FUSE is OFF
Chen Qi
Qi.Chen at windriver.com
Wed Aug 28 23:41:37 PDT 2019
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 at windriver.com>
---
recipes-extended/ceph/ceph_14.1.0.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-extended/ceph/ceph_14.1.0.bb b/recipes-extended/ceph/ceph_14.1.0.bb
index 55a6d7d..18a324a 100644
--- a/recipes-extended/ceph/ceph_14.1.0.bb
+++ b/recipes-extended/ceph/ceph_14.1.0.bb
@@ -32,8 +32,6 @@ SYSTEMD_SERVICE_${PN} = " \
ceph-osd at .service \
ceph-osd.target \
ceph.target \
- ceph-fuse at .service \
- ceph-fuse.target \
ceph-rbd-mirror at .service \
ceph-rbd-mirror.target \
ceph-volume at .service \
@@ -77,6 +75,8 @@ do_install_append () {
mv ${D}${libexecdir}/systemd/system ${D}${systemd_unitdir}
mv ${D}${libexecdir}/ceph/ceph-osd-prestart.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 at .service
}
FILES_${PN} += "\
--
2.17.1
More information about the meta-virtualization
mailing list