diff options
author | Yu Ke <ke.yu@intel.com> | 2011-05-15 22:33:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-17 15:19:36 +0100 |
commit | df2a37abd00fc30837b60aaa0bef43c7838afeb4 (patch) | |
tree | a2516286d0e3d7400f6c599bc3d1e74e39657628 /bitbake/lib/bb/cache.py | |
parent | 8bb06fd765d65b106717626e8dd1349860c49cc2 (diff) | |
download | poky-df2a37abd00fc30837b60aaa0bef43c7838afeb4.tar.gz |
git fetcher: add support for rebaseable git repo
Some upstream git repo may rebase in the future, which means current
revision may disappear from the upstream repo after the rebase.
current git fetcher can not handle this case, because the git mirror
tar ball is per repo, and may also change in the rebase and lost the
current revision info.
To fix this issue, this patch
- add rebaseable tag in the SRC_URI
- for rebaseable repo, make git mirror tar ball per revision, in this
case, even upstream rebase, the git mirror still has the current
revision info.
- for rebaseable repo, generate mirror tar ball by default, since the
repo may change in the future.
(Bitbake rev: 92701d4c5372db48847c70da4ebd0736d79fd54b)
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
0 files changed, 0 insertions, 0 deletions