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

login
register
mail settings
Submitter Paul Eggleton
Date April 7, 2014, 2:01 p.m.
Message ID <3a94ec7e6bf409b4fb6a200d047e452629e3de0a.1396879250.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/70213/
State New
Headers show

Comments

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

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)))
                 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)