Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
meta-phosphor
/
86c7692e137c6907dd964ead2dd4053ad5356d4a
/
.
/
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"