diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2016-04-29 19:03:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-29 19:35:59 +0100 |
commit | 3674b577f67ff2b170fb07d27272597703adf9ba (patch) | |
tree | 9df3d9e43ad59bb34d59ce8a80b99a812e706563 /meta/conf | |
parent | 9f0741a613cd46dbdcde42490047c88133945956 (diff) | |
download | poky-3674b577f67ff2b170fb07d27272597703adf9ba.tar.gz |
metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo
The functions base_detect_revision() and base_detect_branch() try to
extract SCM meta information from the path returned by
base_get_scmbasepath(), which currently returns ${COREBASE}. However,
making the assumption that ${COREBASE} contains SCM meta information
can be false. It is true for Poky, but not necessarily other
environments. A better option is to look for the SCM meta information
based on the meta layer.
Since this works as expected for Git but not SVN, the call to
base_get_metadata_svn_revision() from base_detect_revision() was also
removed. This is not expected to affect anyone (partly based on the
comment in base_get_metadata_svn_revision()).
(From OE-Core rev: 53fd0a4a37023642a770a9fbf3cd5511d3c82af7)
(From OE-Core rev: 59b7a5b64c19afc342ca72ccee99cdcfb818e341)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
0 files changed, 0 insertions, 0 deletions