summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/leds
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2021-03-23 16:52:11 +0300
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2021-03-24 10:46:37 +0300
commit9f410ccf2825825c8a3dafed00eb11aef4ffe2da (patch)
treee8435a8fec9ff807066c016bc0b0638f53f91d9f /meta-ibm/recipes-phosphor/leds
parentaa395cc617408d9ab50b5a0c278cb3165c96801f (diff)
downloadopenbmc-9f410ccf2825825c8a3dafed00eb11aef4ffe2da.tar.xz
leds: rainier: Enable PACKAGECONFIG to use json
This enables phosphor-ledmanager to use JSON configuration file Change-Id: I3cbd0bf6b60e81f9f0a479ad51dab438c708c6c1 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/leds')
-rw-r--r--meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
index 6121395500..325d8bf7f9 100644
--- a/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
+++ b/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
@@ -5,6 +5,9 @@ SYSTEMD_SERVICE_${PN}-ledmanager_append_rainier += "obmc-led-set-all-groups-asse
# Copies config file having arguments for led-set-all-groups-asserted.sh
SYSTEMD_ENVIRONMENT_FILE_${PN}-ledmanager_append_rainier +="obmc/led/set-all/groups/config"
+# Use the JSON configuration file at runtime than the static led.yaml
+PACKAGECONFIG_append_rainier = " use-json"
+
pkg_postinst_${PN}-ledmanager_rainier () {
# Needed this to run as part of BMC boot