commit | 4d9fd23f0e7e9fa5e72a805c6694471c38cf9dc6 | [log] [tgz] |
---|---|---|
author | Rick Altherr <raltherr@google.com> | Thu Dec 08 12:21:49 2016 -0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 19 13:35:47 2016 +0000 |
tree | 96764c0fcd1441d21663936b0030abb87d88c5d0 | |
parent | 91eef023579b8806520789b9e770c9338c0622a2 [diff] |
Create a phosphor-specific initramfs OpenBMC has been using a .bbappend to add/remove packages from core-image-minimal-initramfs. Doing so keeps the recipe and initramfs image name as core-image-minimal-initramfs which is misleading as it now is very much phosphor-specific. Instead, make a new obmc-phosphor-initramfs recipe and image that is patterned after core-image-minimal-initramfs. Change-Id: Ieca2268eff01bb61cc0d25a1cbc1a6f5fadb6d2c Signed-off-by: Rick Altherr <raltherr@google.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