mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
51528db38b
commit
99c27e5874
@@ -1197,14 +1197,14 @@ def get_checksum_file_list(d):
|
||||
|
||||
return " ".join(filelist)
|
||||
|
||||
def get_file_checksums(filelist, pn):
|
||||
def get_file_checksums(filelist, pn, localdirsexclude):
|
||||
"""Get a list of the checksums for a list of local files
|
||||
|
||||
Returns the checksums for a list of local files, caching the results as
|
||||
it proceeds
|
||||
|
||||
"""
|
||||
return _checksum_cache.get_checksums(filelist, pn)
|
||||
return _checksum_cache.get_checksums(filelist, pn, localdirsexclude)
|
||||
|
||||
|
||||
class FetchData(object):
|
||||
|
||||
Reference in New Issue
Block a user