summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb
diff options
context:
space:
mode:
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.bb11
1 files changed, 5 insertions, 6 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
index d2df636d45..d1deb86a33 100644
--- a/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb
+++ b/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb
@@ -3,19 +3,18 @@
# append this recipe in a layer, add:
# FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
# and provide a config file.
-
SUMMARY = "Config file for phosphor-fan-presence"
-PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+PROVIDES += "virtual/phosphor-fan-presence-config"
+PR = "r1"
-inherit allarch
-inherit phosphor-fan
+SRC_URI = "file://config.yaml"
S = "${WORKDIR}"
-PROVIDES += "virtual/phosphor-fan-presence-config"
-SRC_URI = "file://config.yaml"
+inherit allarch
+inherit phosphor-fan
do_install() {
install -D config.yaml ${D}${presence_datadir}/config.yaml