[meta-virtualization] [PATCH] ceph: remove fuse related services as WITH_FUSE is OFF

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 29 21:28:49 PDT 2019


merged

Bruce

On Thu, Aug 29, 2019 at 2:41 AM Chen Qi <Qi.Chen at windriver.com> wrote:
>
> 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



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


More information about the meta-virtualization mailing list