diff options
author | Ross Burton <ross.burton@intel.com> | 2014-09-29 15:40:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-30 14:10:33 +0100 |
commit | 202ae5af74f546a9788290a96b0f3c370ee047b2 (patch) | |
tree | f319eed1a9f941c9308a8a48ebdb4bad335d2830 | |
parent | 78a2c81427eeab641974e11d765f76e642abf2d4 (diff) | |
download | poky-202ae5af74f546a9788290a96b0f3c370ee047b2.tar.gz |
base.bbclass: add SRCREV to do_fetch() hash
Without this changing just the SRCREV won't re-fetch unless you embed the SRCREV
into PV.
The downside here is that every hash changes, so this causes a full rebuild.
(From OE-Core rev: a414b17e1d783ad68a2d0f7d5922967449c05797)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/base.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index c0d61fe7aa..ff8c63394f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -97,6 +97,7 @@ PATH_prepend = "${@extra_path_elements(d)}" | |||
97 | addtask fetch | 97 | addtask fetch |
98 | do_fetch[dirs] = "${DL_DIR}" | 98 | do_fetch[dirs] = "${DL_DIR}" |
99 | do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" | 99 | do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" |
100 | do_fetch[vardeps] += "SRCREV" | ||
100 | python base_do_fetch() { | 101 | python base_do_fetch() { |
101 | 102 | ||
102 | src_uri = (d.getVar('SRC_URI', True) or "").split() | 103 | src_uri = (d.getVar('SRC_URI', True) or "").split() |