diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-04-07 15:01:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-08 13:07:25 +0100 |
commit | 1094be01e3a5a89474a56d97d7c750e2e312a990 (patch) | |
tree | 23dbf9fc9f2b4c986b8330712d1d3c8dc3b91445 /bitbake/lib/bb/fetch2 | |
parent | bb66113bde5361b869dce2bdaece5b938f077ea8 (diff) | |
download | poky-1094be01e3a5a89474a56d97d7c750e2e312a990.tar.gz |
bitbake: 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].
(Bitbake rev: 71da822762cb298261cccdfa54b9c0fea02c3c5d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 8e5342f494..150f864fe4 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -938,7 +938,6 @@ def get_checksum_file_list(d): | |||
938 | 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))) | 938 | 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))) |
939 | else: | 939 | else: |
940 | 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))) | 940 | 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))) |
941 | continue | ||
942 | filelist.append(f) | 941 | filelist.append(f) |
943 | 942 | ||
944 | return " ".join(filelist) | 943 | return " ".join(filelist) |