| FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
| |
| SRC_URI:append = " file://host_eid" |
| |
| SYSTEMD_SERVICE:${PN}:remove = " \ |
| pldmSoftPowerOff.service \ |
| " |
| SRC_URI:remove = "file://pldm-softpoweroff" |
| |
| do_install:append() { |
| install -d ${D}/${datadir}/pldm |
| install ${WORKDIR}/host_eid ${D}/${datadir}/pldm/ |
| LINK="${D}${systemd_unitdir}/obmc-host-shutdown@0.target.wants/pldmSoftPowerOff.service" |
| rm -f $LINK |
| LINK="${D}${systemd_unitdir}/obmc-host-warm-reboot@0.target.wants/pldmSoftPowerOff.service" |
| rm -f $LINK |
| rm -f ${D}${systemd_unitdir}/system/pldmSoftPowerOff.service |
| rm -rf ${D}/${bindir}/pldm-softpoweroff |
| } |