diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 09:13:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 09:13:44 +0000 |
commit | 917d3e9697acefe308e7139e86df37a072ee3500 (patch) | |
tree | 5a52b615cb68fce2d753c2409ce1b2d77ab46c51 /bitbake | |
parent | 8e070a9a54a17d5cbd098798d94fa84d97477a94 (diff) | |
download | poky-917d3e9697acefe308e7139e86df37a072ee3500.tar.gz |
bitbake/fetch2/git: Fix localpath to point at the clone repo since we no longer always generate a mirror tarball and it isn't a good guide to fetcher success
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 35031d28c4..8386ecca02 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -77,6 +77,9 @@ class Git(FetchMethod): | |||
77 | 77 | ||
78 | ud.localfile = ud.mirrortarball | 78 | ud.localfile = ud.mirrortarball |
79 | 79 | ||
80 | def localpath(self, url, ud, d): | ||
81 | return ud.clonedir | ||
82 | |||
80 | def forcefetch(self, url, ud, d): | 83 | def forcefetch(self, url, ud, d): |
81 | for name in ud.names: | 84 | for name in ud.names: |
82 | if not self._contains_ref(ud.revisions[name], d): | 85 | if not self._contains_ref(ud.revisions[name], d): |