Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 2.18.0-dev, 2.17.0-dev, 2.16.0-dev, 2.14.0, 2.14.0-rc1, 2.15.0-dev, 2.13.0, 2.14.0-dev, 2.12.0, 2.12.0-rc1, 2.13.0-dev, 2.11.0, 2.12.0-dev, 2.10.0-rc1, 2.11.0-dev, 2.9.0, 2.9.0-rc1, 2.10.0-dev
# e072defa 19-Oct-2020 Hieu Vu <hvu@amperecomputing.com>

meta-ampere: support software revision using Ampere format

OpenBMC uses os-release.bbappend to control the FW version, which is
the output of 'git describe --dirty --long'. The format of this comman

meta-ampere: support software revision using Ampere format

OpenBMC uses os-release.bbappend to control the FW version, which is
the output of 'git describe --dirty --long'. The format of this command's
output is: {annotated-tag-name}-{num-commits-to-tag}-{current-commit-hash}.
'-dirty' will be appended to the output if the working space is not clean.

In addition, git describe --dirty --long only find an annotated tag, not
lightweight tag which will miss internal release.

This commit updates the rule to extract the right revision from Ampere
build and release tag.

Tested: tag with v1.02.100-ampere and check WebUI display revision
1.02.100.

Signed-off-by: Thu Cao <thcao@os.amperecomputing.com>
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I6d5e6d2dcdb4988809f71d48a5b0e2710e7810d2

show more ...