summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-05-21 16:56:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-24 08:51:37 +0100
commit66b0eceecab670e5530b60599867ea0c828457bd (patch)
tree7767db2c83ec37052178bc144938f347487e333f
parent86d05a429958fa6d4ae2c65dd840ec09d2bc75f1 (diff)
downloadpoky-66b0eceecab670e5530b60599867ea0c828457bd.tar.gz
classes/base: add checksum file list at parse time
Connect the new fetcher file checksum code so that we get a list of the files to be checksummed at parse time. The file-checksums flag will not be read unless we are using a version of BitBake that supports the function we call within it, so it is safe to include this change even when the metadata will still be used with older versions of BitBake. Implements [YOCTO #2044]. (From OE-Core rev: f26065629b6397d129db930268b72164f8e5d3e4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 bb39b7b0b3..79685f7e7d 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -77,6 +77,7 @@ THISDIR = "${@os.path.dirname(d.getVar('FILE', True))}"
77 77
78addtask fetch 78addtask fetch
79do_fetch[dirs] = "${DL_DIR}" 79do_fetch[dirs] = "${DL_DIR}"
80do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}"
80python base_do_fetch() { 81python base_do_fetch() {
81 82
82 src_uri = (d.getVar('SRC_URI', True) or "").split() 83 src_uri = (d.getVar('SRC_URI', True) or "").split()