siteconfig: Unbreak after sstate changes some time ago

Some time ago, the sstate name field was dropped. This code wouldn't have
worked since then. Makes me wonder if we really need it.

Anyhow, my last patch properly breaks it. This fixes the naming so
it works as designed again.

(From OE-Core rev: d282b276aa5e58d306be1c8ef9a985f2267a612b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2014-04-04 18:12:58 +01:00
parent d62302f219
commit bf8dcb4343
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
python siteconfig_do_siteconfig () {
shared_state = sstate_state_fromvars(d)
if shared_state['name'] != 'populate-sysroot':
if shared_state['task'] != 'populate_sysroot':
return
if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME', True), 'site_config')):
bb.debug(1, "No site_config directory, skipping do_siteconfig")