/etc/os-release version should match the Firmaware version.

eg:-Currently it is being displayed as following.

VERSION="0.1.0 (krogoth)"
VERSION_ID="v0.6-157-gd011f68-dirty"

Expected is :- VERSION="v0.6-157"

Fixes openbmc/openbmc#483

Change-Id: Idffe553da0e31fd505e31a954bb071a140613e91
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
1 file changed
tree: 0dd306843ee6163c31e6fee52b7fdb8748e6e74a
  1. meta-openbmc-bsp/
  2. meta-openbmc-machines/
  3. meta-phosphor/
  4. yocto-poky/
  5. .gitignore
  6. .gitreview
  7. .templateconf
  8. openbmc-env
  9. README.md
README.md

OpenBMC

Build Status

Building

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