FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" inherit obmc-phosphor-systemd SRC_URI += "file://cover-heat.service \ file://cover-heat.sh \ " SYSTEMD_SERVICE_${PN} = "cover-heat.service" do_install:append() { # deal with systemd unit files install -d ${D}${systemd_unitdir}/system install -m 0755 ${WORKDIR}/cover-heat.sh ${D}${bindir}/cover-heat.sh install -m 0644 ${WORKDIR}/cover-heat.service ${D}${systemd_unitdir}/system } FILES_${PN} += "${systemd_unitdir}/system/cover-heat.service"