fix(coreos_metadata_scm.bbclass): fix function to work with OE Master
Function to handle git were moved from the metadata_scm class to a python library in OE. This convert the coreos_metadata_scm class to use thoses function as the old one are not available anymore
This commit is contained in:
parent
02d512b09f
commit
761ff86d88
|
|
@ -9,11 +9,11 @@ def coreos_get_scmbasepath(d):
|
|||
|
||||
def coreos_detect_revision(d):
|
||||
path = coreos_get_scmbasepath(d)
|
||||
return base_get_metadata_git_revision(path, d)
|
||||
return oe.buildcfg.get_metadata_git_revision(path)
|
||||
|
||||
def coreos_detect_branch(d):
|
||||
path = coreos_get_scmbasepath(d)
|
||||
return base_get_metadata_git_branch(path, d)
|
||||
return oe.buildcfg.get_metadata_git_branch(path)
|
||||
|
||||
COREOS_METADATA_BRANCH := "${@coreos_detect_branch(d)}"
|
||||
COREOS_METADATA_REVISION := "${@coreos_detect_revision(d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue