forked from openbmc/openbmc
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phosphor-led-manager: add led config
Add led config for preventing LEDGroupManager error in runtime. Signed-off-by: Steven Lee <[email protected]> Change-Id: Ib67a1dd4c90f721c361a5f6f02df1ba9470b1ef9 Signed-off-by: Troy Lee <[email protected]>
- Loading branch information
1 parent
f4d33d7
commit 0bcb135
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
meta-aspeed-sdk/recipes-phosphor/leds/phosphor-led-manager/ast2600-led-group-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"leds": [ | ||
{ | ||
"group": "bmc_booted", | ||
"members": [ | ||
] | ||
}, | ||
{ | ||
"group": "power_on", | ||
"members": [ | ||
] | ||
}, | ||
{ | ||
"group": "enclosure_fault", | ||
"members": [ | ||
] | ||
}, | ||
{ | ||
"group": "enclosure_identify", | ||
"members": [ | ||
] | ||
}, | ||
{ | ||
"group": "fan_fault", | ||
"members": [ | ||
] | ||
}, | ||
{ | ||
"group": "fan_identify", | ||
"members": [ | ||
] | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
meta-aspeed-sdk/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
|
||
SRC_URI += "file://ast2600-led-group-config.json" | ||
|
||
PACKAGECONFIG:append = " use-json use-lamp-test" | ||
|
||
do_install:append() { | ||
install -m 0644 ${WORKDIR}/ast2600-led-group-config.json \ | ||
${D}${datadir}/phosphor-led-manager/led-group-config.json | ||
} | ||
|