diff options
Diffstat (limited to 'meta/classes/metadata_scm.bbclass')
-rw-r--r-- | meta/classes/metadata_scm.bbclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass index 7112ad512..99ac05c18 100644 --- a/meta/classes/metadata_scm.bbclass +++ b/meta/classes/metadata_scm.bbclass @@ -25,12 +25,9 @@ def base_detect_branch(d): return rev.strip() return "<unknown>" - - def base_get_scmbasepath(d): - path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split() - return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )] + return bb.data.getVar( 'COREBASE', d, 1 ) def base_get_metadata_monotone_branch(path, d): monotone_branch = "<unknown>" |