diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2021-03-24 13:13:01 +0300 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2021-03-24 13:15:05 +0300 |
commit | e5362dbac8d91289eb83936e79b5ac0a6e649e9f (patch) | |
tree | 118cb9c0027be2da68edf5c2d6421cc42e6c4da4 | |
parent | 9f410ccf2825825c8a3dafed00eb11aef4ffe2da (diff) | |
download | openbmc-e5362dbac8d91289eb83936e79b5ac0a6e649e9f.tar.xz |
leds: rainier: lamptest: Enable lamp test feature for rainier system
This commit enables phosphor-ledmanager to do lamp test
Change-Id: I4933ec034911198f99ae1289f681f15057310c33
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
-rw-r--r-- | meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend | 3 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend index 325d8bf7f..ba146bcb6 100644 --- a/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend +++ b/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend @@ -6,7 +6,8 @@ SYSTEMD_SERVICE_${PN}-ledmanager_append_rainier += "obmc-led-set-all-groups-asse 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" +# Also, enable Lamp Test feature for rainier systems +PACKAGECONFIG_append_rainier = " use-json use-lamp-test" pkg_postinst_${PN}-ledmanager_rainier () { diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb index 01932d22a..beaf93183 100644 --- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb @@ -15,6 +15,7 @@ LED_MGR_PACKAGES = " \ PACKAGECONFIG ??= "" PACKAGECONFIG[use-json] = "--enable-use-json, --disable-use-json" +PACKAGECONFIG[use-lamp-test] = "--enable-use-lamp-test, --disable-use-lamp-test" PACKAGE_BEFORE_PN += "${LED_MGR_PACKAGES}" ALLOW_EMPTY_${PN} = "1" |