summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-pid-control_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-pid-control_%.bbappend')
-rw-r--r--meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-pid-control_%.bbappend10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-pid-control_%.bbappend b/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-pid-control_%.bbappend
new file mode 100644
index 0000000000..dd6006ac8e
--- /dev/null
+++ b/meta-facebook/meta-greatlakes/recipes-phosphor/fans/phosphor-pid-control_%.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS:prepend:greatlakes := "${THISDIR}/${PN}:"
+SRC_URI:append:greatlakes = " file://config.json \
+ "
+
+FILES:${PN}:append:greatlakes = " ${datadir}/swampd/config.json"
+
+do_install:append:greatlakes() {
+ install -d ${D}${datadir}/swampd
+ install -m 0644 -D ${WORKDIR}/config.json ${D}${datadir}/swampd/
+}