From: Ross Burton Date: Mon, 29 Sep 2014 14:40:14 +0000 (+0100) Subject: base.bbclass: add SRCREV to do_fetch() hash X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32298 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a414b17e1d783ad68a2d0f7d5922967449c05797;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index c0d61fe7aa4..ff8c63394f0 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -97,6 +97,7 @@ PATH_prepend = "${@extra_path_elements(d)}" addtask fetch do_fetch[dirs] = "${DL_DIR}" do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" +do_fetch[vardeps] += "SRCREV" python base_do_fetch() { src_uri = (d.getVar('SRC_URI', True) or "").split()