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

Submitted by Paul Eggleton on April 7, 2014, 2:01 p.m. | Patch ID: 70213


Message ID 3a94ec7e6bf409b4fb6a200d047e452629e3de0a.1396879250.git.paul.eggleton@linux.intel.com
State Accepted, archived
Headers show

Commit Message

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 <paul.eggleton@linux.intel.com>
 lib/bb/fetch2/__init__.py | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 8e5342f..150f864 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -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)