blob: 6381917bb7332732f42834448bb66a10e344cc5d [file] [log] [blame]
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://host_eid"
SYSTEMD_SERVICE:${PN}:remove = " \
pldmSoftPowerOff.service \
"
SRC_URI:remove = "file://pldm-softpoweroff"
EXTRA_OEMESON:append = " \
-Dtransport-implementation=af-mctp \
"
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
}