diff options
-rw-r--r-- | meta/classes/metadata_scm.bbclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass index 0f7f4235a3..2e6fac209a 100644 --- a/meta/classes/metadata_scm.bbclass +++ b/meta/classes/metadata_scm.bbclass | |||
@@ -4,8 +4,7 @@ METADATA_REVISION ?= "${@base_detect_revision(d)}" | |||
4 | def base_detect_revision(d): | 4 | def base_detect_revision(d): |
5 | path = base_get_scmbasepath(d) | 5 | path = base_get_scmbasepath(d) |
6 | 6 | ||
7 | scms = [base_get_metadata_git_revision, \ | 7 | scms = [base_get_metadata_git_revision] |
8 | base_get_metadata_svn_revision] | ||
9 | 8 | ||
10 | for scm in scms: | 9 | for scm in scms: |
11 | rev = scm(path, d) | 10 | rev = scm(path, d) |
@@ -27,7 +26,7 @@ def base_detect_branch(d): | |||
27 | return "<unknown>" | 26 | return "<unknown>" |
28 | 27 | ||
29 | def base_get_scmbasepath(d): | 28 | def base_get_scmbasepath(d): |
30 | return d.getVar( 'COREBASE', True) | 29 | return os.path.join(d.getVar('COREBASE', True), 'meta') |
31 | 30 | ||
32 | def base_get_metadata_monotone_branch(path, d): | 31 | def base_get_metadata_monotone_branch(path, d): |
33 | monotone_branch = "<unknown>" | 32 | monotone_branch = "<unknown>" |