[yocto] Missing service file

JH jupiter.hce at gmail.com
Thu Jul 18 03:01:51 PDT 2019


Hi,

I set up a service file at following myapp.bb file, but that service
file was not installed to /lib/systemd/system. What could I be wrong
here?


SYSTEMD_SERVICE_${PN} = "${PN}.service"
SYSTEMD_AUTO_ENABLE_${PN} = "enable"

do_install() {
......
install -m 0644 ${S}/lib/systemd/system/${PN}.service
${D}/${systemd_system_unitdir}
}

Thank you.

Kind regards,

- jh


More information about the yocto mailing list