]> code.ossystems Code Review - openembedded-core.git/commit
Fetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"
authorYu Ke <ke.yu@intel.com>
Mon, 27 Dec 2010 08:20:34 +0000 (16:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jan 2011 20:37:37 +0000 (20:37 +0000)
commit2b2dbf76126650750cb8a6778b837af6fe4c8b21
tree3471a545e3c017761ecefd8212a198a8172db527
parent1589a1172f9432aed1cc9ce006f68cddf3073774
Fetcher: only set __BB_DONT_CACHE when SRCREV = "${AUTOREV}"

we should cache SRCREV whenever possible, the only exception is
when SREREV is auto rev. so change the logic to only set __BB_DONT_CACHE
at SRCREV = "${AUTOREV}" case

Signed-off-by: Yu Ke <ke.yu@intel.com>
bitbake/lib/bb/fetch2/__init__.py