commit | 2f70a4bedb78356a46275a86300cba3c617c003d | [log] [tgz] |
---|---|---|
author | Milton D. Miller II <miltonm@us.ibm.com> | Mon May 23 18:35:21 2016 -0500 |
committer | Milton Miller <miltonm@us.ibm.com> | Tue Jun 14 15:01:13 2016 -0500 |
tree | f139d62c431b8ef7973e7b58bf27a4afcd19bdec | |
parent | f288f7b8656b882a66b3c3a73414f1991858b5b2 [diff] |
initfs: update: no error if no files to copy to ram If the saved files directory is empty because there were no files in the read-write overlay file system that were in the persistent file list, then the save directory will not exist, so skip copying the non-existant directory in that case. Signed-off-by: Milton Miller <miltonm@us.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