]> code.ossystems Code Review - openembedded-core.git/commit
sstate: ensure an ordered mapping between SSTATETASKS and SSTATETASKNAMES
authorDexuan Cui <dexuan.cui@intel.com>
Thu, 7 Apr 2011 09:38:17 +0000 (17:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Apr 2011 13:06:39 +0000 (06:06 -0700)
commit2f6505f0e795b6c8cad641a6918739c3faac1f99
tree949e8bc26c08be54404f9d0c75caaf09178e2625
parent14419f4a4bc629b171281d46750c6abfa84bf83b
sstate: ensure an ordered mapping between SSTATETASKS and SSTATETASKNAMES

Fix [YOCTO #964]

A recent commit 25a6e5f9(sstate: use only unique set of SSTATETASK) breaks
the ordered mapping between SSTATETASKS and SSTATETASKNAMES. As a result,
in sstate_cleanall, the line
taskname = tasks[namemap.index(name)]
gets an incorrect result, and "bitbake -c cleanall" doesn't really remove
the files populalted by do_populate_sysroot.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
meta/classes/sstate.bbclass