commit | 089d5dfca72a7a4ae435d0329aee3a8fc1520a6e | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@us.ibm.com> | Mon May 23 18:44:30 2016 -0500 |
committer | Milton Miller <miltonm@us.ibm.com> | Thu Jun 23 11:25:35 2016 -0500 |
tree | ad90231752ed491869e3ce49225497daf55cd359 | |
parent | 01d37561a6ef969bfc0ce46f566954e8c8371dcf [diff] |
initfs: shutdown: comment on update success Print an error from the shutdown script when the update fails. Update is changing to return codes when its preconditions are not met, so be more verbose about its success to provide a means to debug flash updates not occurring. We could add a sulogin or sushell but its not clear what would be desired here. If so the message should include "rmdir /oldroot to get a PID 1 shell" like /takever works in init. 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