commit | 34f3773f9b0d67ab0fd94aa1f07b9dcad35a1906 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 15 15:52:09 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 15 16:07:12 2016 -0500 |
tree | 62cd276b70b51289105360c78fbea187f3cc02b3 | |
parent | 75076ecede4f0006b230099852eb4d3ffcc24c75 [diff] |
phosphor-user: Fix race-condition in build phosphor-user was attempting to compile, even though it only needs a python script out of a repository. The compile depends on libsystemd but systemd was not a DEPENDS. Short-circuit by setting do_compile to be empty. Fixes openbmc/openbmc#511. Change-Id: Idf4da676d8905a2900a7ecf40f120da431dd4300 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