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

JH jupiter.hce at gmail.com
Wed Jul 31 16:04:22 PDT 2019


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 ${D}${systemd_system_unitdir}

As well as this to the end of the .bb file

FILES_${PN} += "${libexecdir}/dl-mgr.sh"
FILES_${PN} += "${systemd_system_unitdir}/dl-mgr.service"

But I could not build it "unprased line FILES_${PN} +=
"${systemd_system_unitdir}/dl-mgr.service", could anyone help please?

Thank you.

Kind regards,

- JH


More information about the yocto mailing list