commit | 7d8fb94454164633939c3622966c6c4eecc79492 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Sep 16 16:10:20 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Sep 21 17:11:11 2016 +0000 |
tree | 959a22a465f58010a49f24a94836934bc689e7b1 | |
parent | 302aa8490420494984012fb77d3922ca8a26652e [diff] |
obmc-console: Use ttyVUART0 instead of ttyS0 Fixes openbmc/openbmc#584. Change-Id: I5fb804891f98a0e1f31bbd79fe7605583e34e647 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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 555c088..b9a6c99 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]