Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
meta-phosphor
/
7e3e11dfd12a57bd51b44c364573417f654313ea
/
.
/
common
/
recipes-core
/
os-release
/
os-release.bbappend
blob: 1692af15a1462e9464b55705dc449288e11dab23 [
file
] [
log
] [
blame
]
def
git_describe
(
d
):
return
bb
.
process
.
run
(
"git describe --dirty"
)[
0
]
def
git_tag
(
d
):
return
bb
.
process
.
run
(
"git tag"
)[
0
]
VERSION_ID
=
"${@git_tag(d)}"
BUILD_ID
=
"${@git_describe(d)}"
OS_RELEASE_FIELDS_append
=
" BUILD_ID"