summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/metadata_scm.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass
index 7112ad512b..99ac05c18d 100644
--- a/meta/classes/metadata_scm.bbclass
+++ b/meta/classes/metadata_scm.bbclass
@@ -25,12 +25,9 @@ def base_detect_branch(d):
25 return rev.strip() 25 return rev.strip()
26 26
27 return "<unknown>" 27 return "<unknown>"
28
29
30 28
31def base_get_scmbasepath(d): 29def base_get_scmbasepath(d):
32 path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split() 30 return bb.data.getVar( 'COREBASE', d, 1 )
33 return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )]
34 31
35def base_get_metadata_monotone_branch(path, d): 32def base_get_metadata_monotone_branch(path, d):
36 monotone_branch = "<unknown>" 33 monotone_branch = "<unknown>"