]> code.ossystems Code Review - openembedded-core.git/commit
poky.conf: add PWD to BB_HASHBASE_WHITELIST
authorKevin Tian <kevin.tian@intel.com>
Fri, 5 Nov 2010 07:16:50 +0000 (15:16 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 7 Nov 2010 20:39:14 +0000 (20:39 +0000)
commit26ade54fa479f8cac723197b5dcf53f0e749174e
tree7d2f5d908aa374e624d28023c3c5f6984e374d30
parent5ae5a145dddbdd4db4b93d72291760beabe2c888
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>
meta/conf/distro/poky.conf