summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-04 18:12:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-05 00:14:29 +0100
commitd282b276aa5e58d306be1c8ef9a985f2267a612b (patch)
tree584c283ebbb6a5e1d4d57897096f4dcf790492de /meta
parent5a19863e389d28d8db4a86e409c1daa3c6b46eff (diff)
downloadopenembedded-core-d282b276aa5e58d306be1c8ef9a985f2267a612b.tar.gz
openembedded-core-d282b276aa5e58d306be1c8ef9a985f2267a612b.tar.bz2
openembedded-core-d282b276aa5e58d306be1c8ef9a985f2267a612b.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/siteconfig.bbclass2
1 files changed, 1 insertions, 1 deletions
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")