From bf8dcb43432004328162ddad3c8b38eaab6ab5ce Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Apr 2014 18:12:58 +0100 Subject: 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 --- meta/classes/siteconfig.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index 3701b7cd81..9a4d03b887 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass @@ -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") -- cgit v1.2.3-54-g00ecf