diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb b/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb new file mode 100644 index 0000000000..30da6eab80 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb @@ -0,0 +1,24 @@ +# Provides the config file for the phosphor-fan-presence application. +# The default config file is empty. To provide a real one, +# append this recipe in a layer, add: +# FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +# and provide a config file. + +SUMMARY = "Config file for phosphor-fan-presence" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit allarch +inherit phosphor-fan + +S = "${WORKDIR}" +PROVIDES += "virtual/phosphor-fan-presence-config" + +SRC_URI = "file://config.yaml" + +do_install() { + install -D config.yaml ${D}${presence_datadir}/config.yaml +} + +FILES_${PN} += "${presence_datadir}/config.yaml" |