On Tue, Jun 11, 2013 at 5:00 AM, Noor, Ahsan <[email protected]> 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.
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto