commit | e4bfd68832fc670ef0db182ef48d4a56a5741b96 | [log] [tgz] |
---|---|---|
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Sat Oct 01 11:34:42 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Oct 06 02:44:33 2016 +0000 |
tree | 8f3dcdd813212678b73c94c547eecf07c6d40068 | |
parent | e6d12955a0be76ecd837c9d5809d138e737342de [diff] |
Dynamically start console server on a given TTY obmc-console-server currently uses /dev/ttyVUART0, which is a symlink to ttyS0. This patch allows the TTY number to be populated based on some source and then passes the TTY number on which the console server needs to be started. This patch also makes sure that obmc-console-ssh@.service is instantiated only if the console server is started on the TTY device mentioned above. Fixes openbmc/openbmc#407 Change-Id: If7a6f0e5b899a32225af262e72a3292fb619920a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
OpenBMC uses Yocto/Open-Embedded for a build system, which supports an out-of-tree build. It is recommended that you create an empty directory somewhere to hold the build. This directory will get big.
On Ubuntu 14.04 the following packages are required to build the default target
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
On Fedora 23 the following packages are required to build the default target:
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake sudo dnf groupinstall "C Development Tools and Libraries"
To start a build:
cd <builddir> . <repodir>/openbmc-env bitbake obmc-phosphor-image