meta-facebook: greatlakes: fix overriding issue in DEFAULT_TARGETS variable
The existing implementation completely override the DEFAULT_TARGETS in
/meta-phosphor/recipes-phosphor it seems like error and that changes
doesn't get in the platform. now instead of overriding have append
to the original DEFAULT_TARGETS with bb_append.
Testing: The soft links are created properly and the transition
change and target mappings are also verified successfully.
change-Id: I950e04891cd1438fb24f688231143be966b3a4c9
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
diff --git a/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index 9699405..53f7f8c 100644
--- a/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-facebook/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -1,14 +1,15 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-DEFAULT_TARGETS = " \
- multi-user.target.requires/obmc-host-reset@{}.target \
- multi-user.target.wants/phosphor-discover-system-state@{}.service \
+DEFAULT_TARGETS:append = " \
obmc-chassis-poweron@{}.target.wants/chassis-poweron@{}.service \
obmc-chassis-hard-poweroff@{}.target.wants/chassis-poweroff@{}.service \
obmc-host-shutdown@{}.target.wants/host-poweroff@{}.service \
obmc-host-start@{}.target.wants/host-poweron@{}.service \
obmc-host-reboot@{}.target.wants/host-powercycle@{}.service \
"
+DEFAULT_TARGETS:remove = " \
+ obmc-chassis-poweroff@{}.target.requires/obmc-powered-off@{}.service \
+"
SRC_URI:append:greatlakes = " \
file://chassis-poweroff@.service \