diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2019-11-15 08:47:23 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 23:39:42 +0000 |
commit | 99c27e5874e874d681b6e7fe07f31e163d1d955a (patch) | |
tree | a11aef25d39360b7704daf0230cc982b5eaf8052 /bitbake/lib/bb/fetch2 | |
parent | 51528db38bfdd488f29da12d4ca80b6711118011 (diff) | |
download | poky-99c27e5874e874d681b6e7fe07f31e163d1d955a.tar.gz |
bitbake: lib/bb: Add BB_SIGNATURE_LOCAL_DIRS_EXCLUDE to speed-up taskhash on directories
The new BB_SIGNATURE_LOCAL_DIRS_EXCLUDE allows you to specify a list
of directories to exclude when making taskhash, our specific case
is using SRC_URI that points local VCS directory.
Use bb.fetch.module to set default to: "CVS .bzr .git .hg .osc .p4 .repo .svn"
(Bitbake rev: 923aff060d8aba8456979c35b16d300ba7c13ff9)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 07de6c2693..731c160892 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1197,14 +1197,14 @@ def get_checksum_file_list(d): | |||
1197 | 1197 | ||
1198 | return " ".join(filelist) | 1198 | return " ".join(filelist) |
1199 | 1199 | ||
1200 | def get_file_checksums(filelist, pn): | 1200 | def get_file_checksums(filelist, pn, localdirsexclude): |
1201 | """Get a list of the checksums for a list of local files | 1201 | """Get a list of the checksums for a list of local files |
1202 | 1202 | ||
1203 | Returns the checksums for a list of local files, caching the results as | 1203 | Returns the checksums for a list of local files, caching the results as |
1204 | it proceeds | 1204 | it proceeds |
1205 | 1205 | ||
1206 | """ | 1206 | """ |
1207 | return _checksum_cache.get_checksums(filelist, pn) | 1207 | return _checksum_cache.get_checksums(filelist, pn, localdirsexclude) |
1208 | 1208 | ||
1209 | 1209 | ||
1210 | class FetchData(object): | 1210 | class FetchData(object): |