commit | 4015b7a34bbb563975e5c8bde04dff911071a71d | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@us.ibm.com> | Mon May 23 17:41:34 2016 -0500 |
committer | Milton Miller <miltonm@us.ibm.com> | Sat Jun 25 17:53:43 2016 -0500 |
tree | 23ffb94e1fa3275e6228607e51f6f31b604b1bf5 | |
parent | d16a7b0bc725c5403a3156a10189b2c77931d968 [diff] |
initfs: update: add option to perform checks but skip actual update Provide a way to check if update is likely to succeed without attempting actual updates. This will check the image names correspond to mtd partition names, and will be enhanced with additional checking for file size and individual partition mounts. This is not called --dry-run because it will still do file save and restore if those are enabled. 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