From 202ae5af74f546a9788290a96b0f3c370ee047b2 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 29 Sep 2014 15:40:14 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/base.bbclass') 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)}" 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() -- cgit v1.2.3-54-g00ecf