blob: cb29a7483d13b11cf110378403f954e6244743c9 [file] [log] [blame]
Brad Bishopdd12ede2019-05-13 14:46:48 -04001FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
Matthew Barth8daae522020-06-19 13:48:27 -05002
Matthew Barth2ae06d62020-06-22 11:14:20 -05003SRC_URI_witherspoon = "file://config.json"
Matthew Barth8daae522020-06-19 13:48:27 -05004
Matthew Barth2ae06d62020-06-22 11:14:20 -05005do_install_witherspoon() {
Matthew Barth8daae522020-06-19 13:48:27 -05006 install -d ${D}/${datadir}/phosphor-fan-presence/monitor/
7 install -m 0644 ${WORKDIR}/config.json ${D}/${datadir}/phosphor-fan-presence/monitor/
8}
9
Matthew Barth2ae06d62020-06-22 11:14:20 -050010FILES_${PN}_append_witherspoon = " ${datadir}/phosphor-fan-presence/monitor/config.json"
11FILES_${PN}_remove_witherspoon = "${monitor_datadir}/monitor.yaml"