Re: [yocto] Yocto build failed to include service file in /deplogy/images/image.wic.gz

2019-08-01 Thread JH
Thank you so much Rudolf, that was indeed solved the problem. Great appreciate it. Cheers. - JH On 8/1/19, Rudolf J Streif wrote: > JH, > > To enable systemd service for your application your recipe needs to > inherit the systemd class and install the service file in the proper > directory.

Re: [yocto] Yocto build failed to include service file in /deplogy/images/image.wic.gz

2019-07-31 Thread Rudolf J Streif
JH, To enable systemd service for your application your  recipe needs to inherit the systemd class and install the service file in the proper directory. Here is what it should look like: inherit systemd SYSTEMD_SERVICE_${PN} = "my-app.service" SYSTEMD_AUTO_ENABLE = "enable" do_install_append

[yocto] Yocto build failed to include service file in /deplogy/images/image.wic.gz

2019-07-31 Thread JH
HI, I have been struggling to find a fix for missing service file, I found another solution posted from the Internet to use FILES_${PN} += "${systemd_system_unitdir}/dl-mgr.service" at the end of the bb file: install -d ${D}${systemd_system_unitdir} install -m 0644 ${WORKDIR}/dl-mgr.service