summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 15:44:08 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 15:44:08 +0000
commit27dba1e6247ae48349aee1bce141a9eefaafaad1 (patch)
tree822235005ccbd2707f7874ad680dedc4df36760c /bitbake/lib/bb/fetch
parented234aca98d0867c7b32801fc63820b19cf67df9 (diff)
downloadpoky-27dba1e6247ae48349aee1bce141a9eefaafaad1.tar.gz
Update to bitbake 1.4.2 (latest stable branch release). This includes the caching speedups
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@371 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py4
-rw-r--r--bitbake/lib/bb/fetch/git.py2
2 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 0515f2a5e9..ac698a0d1c 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -168,10 +168,6 @@ class Fetch(object):
168 d Is a bb.data instance 168 d Is a bb.data instance
169 tarfn is the name of the tarball 169 tarfn is the name of the tarball
170 """ 170 """
171 tarpath = os.path.join(data.getVar("DL_DIR", d, 1), tarfn)
172 if os.access(tarpath, os.R_OK):
173 return True
174
175 pn = data.getVar('PN', d, True) 171 pn = data.getVar('PN', d, True)
176 src_tarball_stash = None 172 src_tarball_stash = None
177 if pn: 173 if pn:
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index f30ae2360a..49235c141e 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -129,7 +129,7 @@ class Git(Fetch):
129 os.chdir(repodir) 129 os.chdir(repodir)
130 rungitcmd("tar -xzf %s" % (repofile),d) 130 rungitcmd("tar -xzf %s" % (repofile),d)
131 else: 131 else:
132 rungitcmd("git clone %s://%s%s %s" % (proto, host, path, repodir),d) 132 rungitcmd("git clone -n %s://%s%s %s" % (proto, host, path, repodir),d)
133 133
134 os.chdir(repodir) 134 os.chdir(repodir)
135 rungitcmd("git pull %s://%s%s" % (proto, host, path),d) 135 rungitcmd("git pull %s://%s%s" % (proto, host, path),d)