[yocto] install -m 0644 ${S}/lib/systemd/system/${PN}.service ${D}/${systemd_system_unitdir} failed to add service file to ${systemd_system_unitdir}
JH
jupiter.hce at gmail.com
Tue Jul 23 04:47:18 PDT 2019
Hi,
I set up the configuration for service files at following:
SYSTEMD_SERVICE_${PN} = "${PN}.service bootstrap.service"
do_install() {
..............
install -d ${D}/${systemd_system_unitdir}
install -m 0644 ${S}/lib/systemd/system/*.service
${D}/${systemd_system_unitdir}
}
Despite both service files are in build directory, the final image
installation does not include those service files, appreciate anyone
help.
Thank you.
Kind regards,
- jh
More information about the yocto
mailing list