mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
poky.conf: add PWD to BB_HASHBASE_WHITELIST
Without doing this I can't reuse prebuilts generated from one directory in another build directory which is really not comfortable for developers. Due to difference on PWD variable, base hash becomes different for every sstate package. So here PWD is added to the hase base whitelist, which makes most prebuilts reusable now in a different build directory. However there still remains one issue about do_populate_sysroot sstate package. Absolute path is encoded in this task which then blocks reuse on them. Perhaps we need some redesign for do_populate_sysroot into two stages, with all absolute path related operations moved to the 2nd stage. This way then the 1st stage can be reused. Partially fix [BUGID #522] Signed-off-by Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
5ae5a145dd
commit
26ade54fa4
@@ -142,4 +142,4 @@ require conf/distro/include/distro_tracking_fields.inc
|
||||
# Setup our hash policy
|
||||
BB_SIGNATURE_HANDLER = "basic"
|
||||
BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$)"
|
||||
BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH"
|
||||
BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH PWD"
|
||||
|
||||
Reference in New Issue
Block a user