summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-06-07 16:17:15 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-06-25 16:05:23 -0400
commit859b92ea28bb75d98c98b058339e181c208bba5b (patch)
treeac7ca7810217ba491317674bf91201099723d96d /meta-phosphor/common/recipes-phosphor/host
parentf18df6b5af6fc0481a74059aec89edb3c4e2e6ec (diff)
downloadtalos-openbmc-859b92ea28bb75d98c98b058339e181c208bba5b.tar.gz
talos-openbmc-859b92ea28bb75d98c98b058339e181c208bba5b.zip
Remove use of mapper call
Replace invocations of mapper call with a call to busctl and mapper get-service. This provides equivalent functionality but opens the door for dropping a systemd patch we have carried for some time. Change-Id: Iea0cce89341939b49b095d1f5010415578331d4d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/host')
-rw-r--r--meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-start-host@.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-start-host@.service b/meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-start-host@.service
index 261794133..8703a4301 100644
--- a/meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-start-host@.service
+++ b/meta-phosphor/common/recipes-phosphor/host/obmc-op-control-host/op-start-host@.service
@@ -14,8 +14,8 @@ ConditionPathExists=!/run/openbmc/host@%i-on
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/usr/bin/env mapper call /org/openbmc/control/host%i org.openbmc.control.Host boot
-SyslogIdentifier=mapper
+ExecStart=/bin/sh -c "busctl call `mapper get-service /org/openbmc/control/host%i` /org/openbmc/control/host%i org.openbmc.control.Host boot"
+SyslogIdentifier=op-start-host
[Install]
WantedBy=obmc-host-start@%i.target
OpenPOWER on IntegriCloud