summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-09-29 15:40:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-30 14:10:33 +0100
commit202ae5af74f546a9788290a96b0f3c370ee047b2 (patch)
treef319eed1a9f941c9308a8a48ebdb4bad335d2830 /meta/classes/base.bbclass
parent78a2c81427eeab641974e11d765f76e642abf2d4 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass1
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)}"
97addtask fetch 97addtask fetch
98do_fetch[dirs] = "${DL_DIR}" 98do_fetch[dirs] = "${DL_DIR}"
99do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" 99do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}"
100do_fetch[vardeps] += "SRCREV"
100python base_do_fetch() { 101python 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()