forked from openbmc/openbmc
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-ibm:Remove execution of set-all-groups-asserted
The commit removes dependecy of obmc-led-set-all-groups-asserted from the recipe file of phosphor-led-manager. The script executed by the service curently sets asserted property of all the LED groups to false on BMC boot which is now being set using operational status. Hence the script is no longer required. Change-Id: I6ddfa17ec70d75f115931d78d5866dab8a7e1f21 Signed-off-by: Sunny Srivastava <[email protected]>
- Loading branch information
1 parent
6f3769f
commit 61276c1
Showing
2 changed files
with
1 addition
and
32 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
...-ibm/recipes-phosphor/leds/phosphor-led-manager/[email protected]
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
|
||
SYSTEMD_SERVICE:${PN}:append:p10bmc = " obmc-led-[email protected] obmc-led-[email protected]" | ||
SYSTEMD_SERVICE:${PN}:append:p10bmc = " [email protected]" | ||
|
||
# Copies config file having arguments for led-set-all-groups-asserted.sh | ||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:p10bmc =" obmc/led/set-all/groups/config" | ||
|
@@ -15,18 +15,6 @@ SRC_URI:append:p10bmc = " file://lamp-test-led-overrides.json" | |
|
||
pkg_postinst:${PN}:p10bmc () { | ||
|
||
# Needed this to run as part of BMC boot | ||
mkdir -p $D$systemd_system_unitdir/multi-user.target.wants | ||
LINK="$D$systemd_system_unitdir/multi-user.target.wants/[email protected]" | ||
TARGET="../[email protected]" | ||
ln -s $TARGET $LINK | ||
|
||
# Needed this to run as part of Power On | ||
mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants | ||
LINK="$D$systemd_system_unitdir/[email protected]/[email protected]" | ||
TARGET="../[email protected]" | ||
ln -s $TARGET $LINK | ||
|
||
# Needed this to run as part of BMC boot | ||
mkdir -p $D$systemd_system_unitdir/multi-user.target.wants | ||
LINK_FAULT="$D$systemd_system_unitdir/multi-user.target.wants/obmc-led-create-virtual-leds@sys-class-leds-virtual-enc-fault.service" | ||
|
@@ -42,12 +30,6 @@ pkg_postinst:${PN}:p10bmc () { | |
|
||
pkg_prerm:${PN}:p10bmc () { | ||
|
||
LINK="$D$systemd_system_unitdir/multi-user.target.wants/[email protected]" | ||
rm $LINK | ||
|
||
LINK="$D$systemd_system_unitdir/[email protected]/[email protected]" | ||
rm $LINK | ||
|
||
LINK_FAULT="$D$systemd_system_unitdir/multi-user.target.wants/obmc-led-create-virtual-leds@sys-class-leds-virtual-enc-fault.service" | ||
rm $LINK_FAULT | ||
|
||
|