Brad Bishop | 19ee51f | 2019-05-13 13:45:49 -0400 | [diff] [blame] | 1 | # Provides the config file for the phosphor-fan-presence application. |
| 2 | # The default config file is empty. To provide a real one, |
| 3 | # append this recipe in a layer, add: |
| 4 | # FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 5 | # and provide a config file. |
| 6 | |
| 7 | SUMMARY = "Config file for phosphor-fan-presence" |
| 8 | PR = "r1" |
| 9 | LICENSE = "Apache-2.0" |
| 10 | LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
| 11 | |
| 12 | inherit allarch |
| 13 | inherit phosphor-fan |
| 14 | |
| 15 | S = "${WORKDIR}" |
| 16 | PROVIDES += "virtual/phosphor-fan-presence-config" |
| 17 | |
| 18 | SRC_URI = "file://config.yaml" |
| 19 | |
| 20 | do_install() { |
| 21 | install -D config.yaml ${D}${presence_datadir}/config.yaml |
| 22 | } |
| 23 | |
| 24 | FILES_${PN} += "${presence_datadir}/config.yaml" |