<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/tmp/openbmc.git/meta-phosphor/classes/image_version.bbclass, branch 2.7.0-dev</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=2.7.0-dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=2.7.0-dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/'/>
<updated>2018-02-23T18:43:40+00:00</updated>
<entry>
<title>image_version: Add missing os-release dependency</title>
<updated>2018-02-23T18:43:40+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2018-02-09T01:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=d1ba4e535e6a70d4a9faad28b1b3db299f637aa4'/>
<id>urn:sha1:d1ba4e535e6a70d4a9faad28b1b3db299f637aa4</id>
<content type='text'>
Any recipe inheriting image_version must have a dependency
on os-release to ensure the sysroot is populated before
attempting to get the version out of it.

Also read the version out of the target sysroot rather than the
host sysroot.  os-release does not have a native variant.

Tested: Built image and verified in witherspoon qemu
Change-Id: I8d79280a75577eff48314f0f57c0015e1d6738ef
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>Calculate the version ID of BMC UBI volumes during build time.</title>
<updated>2017-11-16T03:32:03+00:00</updated>
<author>
<name>Saqib Khan</name>
<email>khansa@us.ibm.com</email>
</author>
<published>2017-09-22T15:21:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=417234737e4238a6f2315188c10d1e16f65e9664'/>
<id>urn:sha1:417234737e4238a6f2315188c10d1e16f65e9664</id>
<content type='text'>
- When the new ubi layout is flashed onto the BMC, the volumes
  were named kernel-0 and rofs-0 by default. This tends to be
  misleading as we can't differentiate between two different BMC
  versions.
- Now the ubi volumes will be named kernel-&lt;versionID&gt; and
  rofs-&lt;versionID&gt; calculated by getting the hash(SHA-512) of
  the version and taking the first 8 characters.
- The Uboot env needs to be updated to point to the correct
  kernelname which has now changed from kernel-0 to
  kernel-&lt;versionID&gt; calculated by getting the HASH(SHA-512)
  of the version and taking the first 8 characters.

Resolves openbmc/openbmc#2323

Change-Id: I258d165b399d1ff59ea86f410006f6d03fe13a2e
Signed-off-by: Saqib Khan &lt;khansa@us.ibm.com&gt;
</content>
</entry>
</feed>
