From patchwork Thu May 24 04:42:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Consolidated, Pull, 09/28] classes/base: add checksum file list at parse time Date: Thu, 24 May 2012 04:42:12 -0000 From: Saul Wold X-Patchwork-Id: 28545 Message-Id: <21fd7e43557bfe2adb5d1887ca4e5bab2ca6c927.1337834073.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Paul Eggleton 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]. Signed-off-by: Paul Eggleton --- 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 bb39b7b..79685f7 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -77,6 +77,7 @@ THISDIR = "${@os.path.dirname(d.getVar('FILE', True))}" addtask fetch do_fetch[dirs] = "${DL_DIR}" +do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" python base_do_fetch() { src_uri = (d.getVar('SRC_URI', True) or "").split()