summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_7.18.1.bb
diff options
context:
space:
mode:
authorAlexander Amelkin <a.amelkin@yadro.com>2020-09-26 04:10:36 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-09-30 01:00:15 +0300
commiteeef3b96809c8b2caf4dc2285d1bda262405a250 (patch)
tree72a3d3fc411f000da1e1a20e6bad1fdd6a0368c2 /meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_7.18.1.bb
parent4691b50c9f17c55087e0479c97c822ccb9948c38 (diff)
downloadopenbmc-eeef3b96809c8b2caf4dc2285d1bda262405a250.tar.xz
meta-yadro: Fix version parsing, update AUX rev
AUX Revision info was always taken from the dev_id.json file if it exists, overriding the value calculated from the active firmware version string. Also, when AUX info was calculated, it only properly parsed the dirtyness of the build. With this commit the AUX info calculation will properly parse the git hash part and will include it as higher 3 bytes of the AUX info. For officially released versions the lower byte will be zero. For development versions, bits [7:1] of the fourth byte will all be 1 as an indicator of non-release branch. For unofficial builds from release branches those bits will contain a number from 1 to 126 indicating a patch level since the release tag. In any case the bit 0 of byte 4 is a dirtyness indicator. If the sources used to build the firmware were modified compared to the git hash, this bit will be 1. WARNING: For the AUX decoding from version string to work properly, the dev_id.json file must NOT contain the `aux` property. (From meta-yadro rev: 468784ebfd8009e34207018c44858e2b6bc28762) End-user-impact: Version info is properly represented in the AUX Revision Info fields in response to the IPMI Get Device ID command (ipmitool mc info) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: Iec376659ab108283e224618e3f6afed24a86b199 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_7.18.1.bb')
0 files changed, 0 insertions, 0 deletions