Skip to contentSkip to conversation

Fix for missing file checksums

PATCH New Paul Eggleton 1 participant 2 messages Apr 7, 2014

lore
Share & tools
lore
#0 lore raw

cover Fix for missing file checksums

The following change since commit f9416e76e272ba3249abff099f6f3a47fe82e03e:

fetch2: Fix bug in file checksum generation (2014-04-06 11:31:18 +0100)

is available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/checksumfix
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/checksumfix

Paul Eggleton (1):
fetch2: avoid cache ignoring missing files

 lib/bb/fetch2/__init__.py | 1 -
 1 file changed, 1 deletion(-)
Signature · 1 line
1.9.0
#1 lore raw

PATCH 1/1 fetch2: avoid cache ignoring missing files

Previously, if a file listed in SRC_URI was missing at the time of parsing, and then was added and bitbake run again, it would not be picked up because the recipe was cached without it. If we allow the file to be added to the list of files to checksum, then it will be checked for and found on the second run.

Fixes [YOCTO #4790].

---
 lib/bb/fetch2/__init__.py | 1 -
 1 file changed, 1 deletion(-)
lib/bb/fetch2/__init__.py +0 -1
index 8e5342f..150f864 100644
@@ -938,7 +938,6 @@ def get_checksum_file_list(d):
                     bb.warn("Getting checksum for %s SRC_URI entry %s: file not found except in DL_DIR" % (d.getVar('PN', True), os.path.basename(f)))
                 else:
                     bb.warn("Unable to get checksum for %s SRC_URI entry %s: file could not be found" % (d.getVar('PN', True), os.path.basename(f)))
-                    continue
             filelist.append(f)
 
     return " ".join(filelist)
Signature · 1 line
1.9.0