summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/console
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-09-16 16:10:20 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-09-21 17:11:11 +0000
commit7d8fb94454164633939c3622966c6c4eecc79492 (patch)
tree959a22a465f58010a49f24a94836934bc689e7b1 /meta-phosphor/common/recipes-phosphor/console
parent302aa8490420494984012fb77d3922ca8a26652e (diff)
downloadtalos-openbmc-7d8fb94454164633939c3622966c6c4eecc79492.tar.gz
talos-openbmc-7d8fb94454164633939c3622966c6c4eecc79492.zip
obmc-console: Use ttyVUART0 instead of ttyS0
Fixes openbmc/openbmc#584. Change-Id: I5fb804891f98a0e1f31bbd79fe7605583e34e647 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/console')
-rw-r--r--meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console.service b/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console.service
index 555c08807..b9a6c99a4 100644
--- a/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console.service
+++ b/meta-phosphor/common/recipes-phosphor/console/obmc-console/obmc-console.service
@@ -1,8 +1,11 @@
[Unit]
Description=Phosphor Console Muxer
+BindsTo=dev-ttyVUART0.device
+After=dev-ttyVUART0.device
[Service]
-ExecStart={sbindir}/obmc-console-server ttyS0
+# TODO: openbmc/obmc-console#5 - Restore this to 'obmc-console-server ttyVUART0'
+ExecStart=/bin/sh -c 'realpath /dev/ttyVUART0 | xargs basename | xargs {sbindir}/obmc-console-server'
Restart=always
[Install]
OpenPOWER on IntegriCloud