commit | adf763ff94b513b53a5c299a82338521ba8706e6 | [log] [tgz] |
---|---|---|
author | Leonel Gonzalez <lgonzalez@us.ibm.com> | Fri Jun 16 12:43:26 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Jun 22 05:34:20 2017 +0000 |
tree | a42ba1ddb01f65a6014515f6381bd654a69c7142 | |
parent | eb01ff03c7655ce29bcea14043fa3d98a2aa1fc2 [diff] |
Fix git describe format for commits with a tag Fixes openbmc/openbmc#1692 Change-Id: I84fffbaa453d918bcbf7bcb8100109ba8ba1be91 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-core/os-release/os-release.bbappend b/meta-phosphor/common/recipes-core/os-release/os-release.bbappend index 1ac195f..64f0fed 100644 --- a/meta-phosphor/common/recipes-core/os-release/os-release.bbappend +++ b/meta-phosphor/common/recipes-core/os-release/os-release.bbappend
@@ -7,7 +7,7 @@ pass python() { - version_id = run_git(d, 'describe --dirty') + version_id = run_git(d, 'describe --dirty --long') if version_id: d.setVar('VERSION_ID', version_id) versionList = version_id.split('-')