[PATCH openbmc 2/6] Add mapper dependency to skeleton

OpenBMC Patches openbmc-patches at stwcx.xyz
Fri Jul 1 03:50:29 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

This isn't required at the moment but it will be eventually
to avoid deadlocks between the mapper and system_manager
during startup.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 .../common/recipes-phosphor/skeleton/skeleton/skeleton.service          | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
index c39cc40..3a8e52e 100644
--- a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
+++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
@@ -1,5 +1,7 @@
 [Unit]
 Description=Temp placeholder for skeleton function
+Requires=obmc-mapper.service
+After=obmc-mapper.service
 
 [Service]
 Restart=always
-- 
2.9.0




More information about the openbmc mailing list