commit | 49ce6a12f6757840092671cc6a72b8d0cd60d874 | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@us.ibm.com> | Wed May 25 18:52:04 2016 -0500 |
committer | Milton Miller <miltonm@us.ibm.com> | Sat Jun 25 17:58:13 2016 -0500 |
tree | 354a9b22763a40fbbb7871006e54ed64e39a4dcb | |
parent | 30137fa2a0122bf504369d1b90ac019df5685357 [diff] |
initfs: init: add file for base options Allow an initrd image to include options for init while still allowing additional options to come from the kernel command line and/or u-boot environment variables. This will allow building a netboot image that can specify to run from RAM while allowing the command line to initiate debug or skip copying files from the read-write overlay file system. 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