]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/base: add checksum file list at parse time
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 21 May 2012 15:56:15 +0000 (16:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 May 2012 07:34:49 +0000 (08:34 +0100)
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 <paul.eggleton@linux.intel.com>
meta/classes/base.bbclass

index bb39b7b0b3e003b2e7678f4f7c087581832237e9..79685f7e7d24884344bfaa6a118212e26bdf754d 100644 (file)
@@ -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()