{"body":"rburton: this is my latest attempt.  I have tried the same function as do_install and do_install_append (without the addtask in the other cases):\n\ninherit cmake systemd\n...\ndo_install_systemd () {\n    install -d ${D}${systemd_unitdir}/system/\n    bbwarn(\"in install append: %s\", ${SYSTEMD_SERVICE_${PN}-systemd-auto});\n    for service_file_name in SYSTEMD_SERVICE_${PN}-systemd-auto; do\n        install -m 0644 ${WORKDIR}/${service_file_name} ${D}${systemd_unitdir}/system/\n        sed -i -e 's!@BINDIR@!${bindir}!g' ${D}${systemd_unitdir}/system/${service_file_name}\n    done\n    for service_file_name in SYSTEMD_SERVICE_${PN}-systemd-noauto; do\n        install -m 0644 ${WORKDIR}/${service_file_name} ${D}${systemd_unitdir}/system/\n        sed -i -e 's!@BINDIR@!${bindir}!g' ${D}${systemd_unitdir}/system/${service_file_name}\n    done\n\naddtask install_systemd after do_install before do_package\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/3YwfY8mX","modified":1490126797,"id":"3YwfY8mX","size":897,"lines":17,"own_paste":false,"theme":"","date":1490126797}