Skip to contentSkip to conversation

ceph: remove fuse related services as WITH_FUSE is OFF

PATCH In review Chen Qi 2 participants 2 messages Aug 29, 2019 – Aug 30, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 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.

---
 recipes-extended/ceph/ceph_14.1.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/ceph/ceph_14.1.0.bb +2 -2
index 55a6d7d..18a324a 100644
@@ -32,8 +32,6 @@ SYSTEMD_SERVICE_${PN} = " \
         [email protected] \
 	ceph-osd.target \
         ceph.target \
-	[email protected] \
-	ceph-fuse.target \
 	[email protected] \
 	ceph-rbd-mirror.target \
 	[email protected] \
@@ -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/[email protected]
 }
 
 FILES_${PN} += "\
Signature · 1 line
2.17.1
#1 lore raw

merged

Bruce

Quoted 39 lines · Chen Qi

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

---
 recipes-extended/ceph/ceph_14.1.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/ceph/ceph_14.1.0.bb +2 -3
index 55a6d7d..18a324a 100644
@@ -32,8 +32,6 @@ SYSTEMD_SERVICE_${PN} = " \
         [email protected] \
        ceph-osd.target \
         ceph.target \
-       [email protected] \
-       ceph-fuse.target \
        [email protected] \
        ceph-rbd-mirror.target \
        [email protected] \
@@ -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/[email protected]
 }
 
 FILES_${PN} += "\
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II