[yocto] [PATCH] dlt-daemon: Fix multiple issues with service files.

Khem Raj raj.khem at gmail.com
Thu Jun 13 19:23:40 PDT 2013


On Tue, Jun 11, 2013 at 5:00 AM, Noor, Ahsan <noor_ahsan at mentor.com> wrote:
> +do_install_append() {
> +    # Remove "User=genivi" option from systemd service files, as we want this to go to default setting
> +    sed -i '/User/d' ${D}/${systemd_unitdir}/system/*.service
> +
> +    # Install the required systemd services links
> +    install -d ${D}${base_libdir}/systemd/system/basic.target.wants
> +    ln -sf ../dlt.service ${D}${base_libdir}/systemd/system/basic.target.wants/dlt.service
> +    ln -sf ../dlt-system.service ${D}${base_libdir}/systemd/system/basic.target.wants/dlt-system.service
> +}


shouldnt this be done only when system is in DISTRO_FEATURES ?
secondly install into ${D}${base_libdir}/systemd/system should be
enough and you can use ${systemd_unitdir}/system
since thats multilib safe.



More information about the yocto mailing list