Revert "os-release: only run bbappend on do_compile"
This reverts commit f2b07859cc9586f96b072678d1f5f4586e77850b.
This turned out to only help hide the issue. Builds would pass but the
os-release value in the flash image would not be correct when this bug
hit.
(From meta-phosphor rev: aae84925dc578f2025aa19c90a718d012aee2577)
Change-Id: I4d6c436297687469116709ebc535bf1d343936f4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-core/os-release/os-release.bbappend b/meta-phosphor/recipes-core/os-release/os-release.bbappend
index 1c98781..c010146 100644
--- a/meta-phosphor/recipes-core/os-release/os-release.bbappend
+++ b/meta-phosphor/recipes-core/os-release/os-release.bbappend
@@ -13,7 +13,7 @@
except:
pass
-python do_compile_prepend() {
+python() {
version_id = run_git(d, 'describe --dirty --long')
if version_id:
d.setVar('VERSION_ID', version_id)