]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: Fix an issue if the config changes
authorMark Hatle <mark.hatle@windriver.com>
Wed, 29 Jun 2011 01:34:19 +0000 (20:34 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2011 13:35:52 +0000 (14:35 +0100)
commit8870ba9d261d3cacbe5d1219fdd95840c05ecf9e
treedb5ba41a9a11782abd4e67269637e293926b64d6
parent99d8d574f15d6bd2294b340da20bd9a47af79f9f
sstate.bbclass: Fix an issue if the config changes

We need to check if we know of the task type, before we attempt
to process it.  In order to reproduce the problem build with:

PACKAGE_CLASSES = "package_ipk"

Then change it to:

PACKAGE_CLASSES = "package_rpm"

Build again -- and then try bitbake -c cleansstate <recipe>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/classes/sstate.bbclass