diff options
author | Brad Bishop <bradleyb@us.ibm.com> | 2015-12-18 15:36:47 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@us.ibm.com> | 2015-12-18 15:36:47 -0500 |
commit | 2c4f8ad4403801f2daef4385079e4c5c682aa930 (patch) | |
tree | e37836031946e5a4e39dcfe7f130be2727019259 /meta-phosphor/common/recipes-core | |
parent | 6d6e571be255fe95b3c3eac31fca9666c10490a9 (diff) | |
download | talos-openbmc-2c4f8ad4403801f2daef4385079e4c5c682aa930.tar.gz talos-openbmc-2c4f8ad4403801f2daef4385079e4c5c682aa930.zip |
os-release VERSION always points at v0.1
Use git-describe rather than git-tag.
Make os-release do_compile run every time.
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r-- | meta-phosphor/common/recipes-core/os-release/os-release.bbappend | 3 |
1 files changed, 2 insertions, 1 deletions
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 ba6a7721e..b112c50d9 100644 --- a/meta-phosphor/common/recipes-core/os-release/os-release.bbappend +++ b/meta-phosphor/common/recipes-core/os-release/os-release.bbappend @@ -6,7 +6,7 @@ def run_git(d, cmd): pass python() { - version_id = run_git(d, 'tag') + version_id = run_git(d, 'describe --abbrev=0') if version_id: d.setVar('VERSION_ID', version_id) @@ -16,3 +16,4 @@ python() { } OS_RELEASE_FIELDS_append = " BUILD_ID" +do_compile[nostamp] = "1" |