commit | a643f743c0c7cdefd2afea9a89b2c41bf51d57af | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Thu Aug 18 12:11:01 2016 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 29 16:47:48 2016 +0000 |
tree | cf40c15fe7d204ae66cf12f57aa0ce34b6b74a97 | |
parent | f1cc98c91f06c57d39785bed8268a75a43999430 [diff] |
whitelist: Add obmc cache and obmc settings During BMC FW update, preserve the following directories: /var/cache/obmc/ - Holds the inventory data /var/lib/obmc/ - Holds the settings properties The whiltelist is recursive, specifying /var/lib/obmc/ will still preserve the event log directory /var/lib/obmc/events/, so it can be removed. Change-Id: Idef960016ed5601d09459fc287f0f4e17df93718 Signed-off-by: Adriana Kobylak <anoo@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