commit | 9e206396d08360bf8248e571d07337cd75ad8fe0 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 19 21:20:46 2017 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jan 19 21:20:49 2017 -0600 |
tree | 36b8324d9e3c9b440ad372b5e10ebc5b4e90a013 | |
parent | 48b42e0086847aa8b87b4102d7af315d91f3b45d [diff] |
phosphor-state-manager: remove daemon duplication The phosphor-state-manager repository builds [at least] two executables: * phosphor-host-state-manager * phosphor-chassis-state-manager phosphor-host-state-manager.bb and phosphor-chassis-state-manager.bb were effectively the exact same file and had no assignment of executables to files. The result was that both packages installed both daemons and caused an installation collision. Combine the two recipes into a single recipe with the correct package relationship for each executable. Change-Id: I76a1e598bebc5090ae374271bbd5e8e32967cb43 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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