diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-30 21:54:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-30 21:54:47 +0000 |
commit | 979f987c44928f2d47d319cf5fc34e7f3d2113b7 (patch) | |
tree | b49dca768f15cc67c1fa2ff499552a2c67baa7c1 /bitbake-dev/lib/bb/fetch/__init__.py | |
parent | e2d321075a6c1aecd09a705d97f2347863a685f9 (diff) | |
download | poky-979f987c44928f2d47d319cf5fc34e7f3d2113b7.tar.gz |
bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake-dev/lib/bb/fetch/__init__.py')
-rw-r--r-- | bitbake-dev/lib/bb/fetch/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/fetch/__init__.py b/bitbake-dev/lib/bb/fetch/__init__.py index 721eb4d646..9300d0c234 100644 --- a/bitbake-dev/lib/bb/fetch/__init__.py +++ b/bitbake-dev/lib/bb/fetch/__init__.py | |||
@@ -232,6 +232,8 @@ def get_srcrev(d): | |||
232 | bb.msg.error(bb.msg.domain.Fetcher, "SRCREV was used yet no valid SCM was found in SRC_URI") | 232 | bb.msg.error(bb.msg.domain.Fetcher, "SRCREV was used yet no valid SCM was found in SRC_URI") |
233 | raise ParameterError | 233 | raise ParameterError |
234 | 234 | ||
235 | bb.data.setVar('__BB_DONT_CACHE','1', d) | ||
236 | |||
235 | if len(scms) == 1: | 237 | if len(scms) == 1: |
236 | return urldata[scms[0]].method.sortable_revision(scms[0], urldata[scms[0]], d) | 238 | return urldata[scms[0]].method.sortable_revision(scms[0], urldata[scms[0]], d) |
237 | 239 | ||