From 2c4f8ad4403801f2daef4385079e4c5c682aa930 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 18 Dec 2015 15:36:47 -0500 Subject: os-release VERSION always points at v0.1 Use git-describe rather than git-tag. Make os-release do_compile run every time. --- meta-phosphor/common/recipes-core/os-release/os-release.bbappend | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-phosphor/common/recipes-core') 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" -- cgit v1.2.1