summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan_%.bbappend6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan_%.bbappend b/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan_%.bbappend
index fbcb1be0ad..fcf7e00177 100644
--- a/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan_%.bbappend
+++ b/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan_%.bbappend
@@ -1,7 +1,7 @@
FILESEXTRAPATHS:append := "${THISDIR}/${PN}:"
FILESEXTRAPATHS:append := "${THISDIR}/${PN}/${MACHINE}:"
-RDEPENDS:${PN} += "bash"
+RDEPENDS:${PN}-monitor += "bash"
PACKAGECONFIG:append = " json"
@@ -16,6 +16,10 @@ SRC_URI:append = " file://events.json \
file://ampere_set_fan_max_speed.sh \
"
+FILES:${PN}-monitor += " \
+ ${bindir}/ampere_set_fan_max_speed.sh \
+ "
+
do_configure:prepend() {
mkdir -p ${S}/control/config_files/${MACHINE}
cp ${WORKDIR}/events.json ${S}/control/config_files/${MACHINE}/events.json