diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-05-10 16:48:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-11 10:21:10 +0100 |
commit | 17c8c41b837d66bd3cc02c4c60e62dcfc13b80a8 (patch) | |
tree | 6a9756df99a0e73607dace79733bb0f9ed1303ce | |
parent | 162f0c5361f951111d8b7dc5aeb85ccd323cae30 (diff) | |
download | openembedded-core-17c8c41b837d66bd3cc02c4c60e62dcfc13b80a8.tar.gz openembedded-core-17c8c41b837d66bd3cc02c4c60e62dcfc13b80a8.tar.bz2 openembedded-core-17c8c41b837d66bd3cc02c4c60e62dcfc13b80a8.zip |
metadata_scm.bbclass: Use COREBASE to grok for SCM operations
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-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 7112ad512b..99ac05c18d 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>" |