commit | 3475501126781392943726c1c93dc8d1a327ca1d | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@us.ibm.com> | Tue Jun 14 14:13:37 2016 -0500 |
committer | Milton Miller <miltonm@us.ibm.com> | Tue Jun 14 19:59:32 2016 -0500 |
tree | 48f2ab70c14f27100466544a2869249dc37a6354 | |
parent | dfdfc7a79a01c60e533b47bd8041a43925a239d6 [diff] |
[RFC] Add ram boot option to default obmc-phosphor-image recipe This adds the obmc-phosphor-initfs-ram package which packages the initramfs-options-base to run from RAM. This is really more of an example than suggestion, and was created while exploring packaging options. If we were to run with this option, no updates would be written to the flash, except possibly by random invocations of the update script. 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