Patchwork [bitbake-devel,1/1] fetch2: avoid cache ignoring missing files

mail settings
Submitter Paul Eggleton
Date April 7, 2014, 2:01 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/70213/
State New
Headers show


Paul Eggleton - April 7, 2014, 2:01 p.m.
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].

Signed-off-by: Paul Eggleton <>
 lib/bb/fetch2/ | 1 -
 1 file changed, 1 deletion(-)


diff --git a/lib/bb/fetch2/ b/lib/bb/fetch2/
index 8e5342f..150f864 100644
--- a/lib/bb/fetch2/
+++ b/lib/bb/fetch2/
@@ -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)))
                     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
     return " ".join(filelist)