diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2018-11-23 19:04:51 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-23 23:35:19 +0000 |
| commit | 00379e95894de195788b80b7dec9ba5dfe3ad1bd (patch) | |
| tree | d393e2413aa66c4cee8ecebc8c442b8944adffc9 /meta/classes/siteconfig.bbclass | |
| parent | 3518cdde5bbb62416a650b7766f649d86b3f4b1e (diff) | |
| download | poky-00379e95894de195788b80b7dec9ba5dfe3ad1bd.tar.gz | |
classes: Remove tab indentations in python code
Use 4 spaces to replace a tab.
(From OE-Core rev: 55eaf8779170b9396e94dc4a44667824c4f36363)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/siteconfig.bbclass')
| -rw-r--r-- | meta/classes/siteconfig.bbclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index bb491d2994..0cfa5a6834 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | python siteconfig_do_siteconfig () { | 1 | python siteconfig_do_siteconfig () { |
| 2 | shared_state = sstate_state_fromvars(d) | 2 | shared_state = sstate_state_fromvars(d) |
| 3 | if shared_state['task'] != 'populate_sysroot': | 3 | if shared_state['task'] != 'populate_sysroot': |
| 4 | return | 4 | return |
| 5 | if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')): | 5 | if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')): |
| 6 | bb.debug(1, "No site_config directory, skipping do_siteconfig") | 6 | bb.debug(1, "No site_config directory, skipping do_siteconfig") |
| 7 | return | 7 | return |
| 8 | sstate_install(shared_state, d) | 8 | sstate_install(shared_state, d) |
| 9 | bb.build.exec_func('do_siteconfig_gencache', d) | 9 | bb.build.exec_func('do_siteconfig_gencache', d) |
| 10 | sstate_clean(shared_state, d) | 10 | sstate_clean(shared_state, d) |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | EXTRASITECONFIG ?= "" | 13 | EXTRASITECONFIG ?= "" |
