summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config.bbappend
blob: 9442477af3c0517ac3c61d09a4675e6e5a4c8005 (plain)
1
2
3
4
5
6
7
8
9
10
11
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"

SRC_URI_witherspoon = "file://config.json"

do_install_witherspoon() {
        install -d ${D}/${datadir}/phosphor-fan-presence/presence/
        install -m 0644 ${WORKDIR}/config.json ${D}/${datadir}/phosphor-fan-presence/presence/
}

FILES_${PN}_append_witherspoon = " ${datadir}/phosphor-fan-presence/presence/config.json"
FILES_${PN}_remove_witherspoon = "${presence_datadir}/config.yaml"