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>
Thu, 10 Feb 2011 23:36:39 +0000 (23:36 +0000)
commitc557a67a7904772e31326b4c216b59ad1dbc985b
tree0fe4845c22deef9ef94c2ae91c0bb6f87b169954
parent99c81a1ae3ea5894d9c78caae30edda455ebce4f
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

(From Poky rev: 2b2dbf76126650750cb8a6778b837af6fe4c8b21)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py