Skip to contentSkip to conversation

Implement file checksums (OE-Core part)

PATCH Applied Paul Eggleton 2 participants 3 messages May 22, 2012 – May 24, 2012

lore
Share & tools
lore
#0 lore raw

cover Implement file checksums (OE-Core part)

The remaining third of the changes to implement local file checksums - the other 2/3 are against BitBake and have been sent to the bitbake-devel mailing list.

The following change since commit e6333825c3482a559a0c0499e17f8f48d3042ddf:

tune-mips64.inc: Add new tune file for mips64 big-endian (2012-05-20 20:24:37 -0700)

is available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/file-checksum-oecore
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/file-checksum-oecore

Paul Eggleton (1):
classes/base: add checksum file list at parse time

 meta/classes/base.bbclass |    1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 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].

---
 meta/classes/base.bbclass |    1 +
 1 file changed, 1 insertion(+)
meta/classes/base.bbclass +1 -0
index bb39b7b..79685f7 100644
@@ -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()
Signature · 1 line
1.7.9.5
Applied
#2 lore raw
In reply to Paul Eggleton
Quoted 11 lines · Paul Eggleton

The remaining third of the changes to implement local file checksums - the other 2/3 are against BitBake and have been sent to the bitbake-devel mailing list.

The following change since commit e6333825c3482a559a0c0499e17f8f48d3042ddf:

   tune-mips64.inc: Add new tune file for mips64 big-endian (2012-05-20 20:24:37 -0700)

is available in the git repository at:

Quoted 9 lines

git://git.openembedded.org/openembedded-core-contrib paule/file-checksum-oecore
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/file-checksum-oecore

Paul Eggleton (1):
classes/base: add checksum file list at parse time

  meta/classes/base.bbclass |    1 +
  1 file changed, 1 insertion(+)

Merged into OE-Core

Thanks
Sau!