diff options
author | Ming Liu <liu.ming50@gmail.com> | 2020-01-26 22:14:20 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2020-02-28 13:42:06 +0100 |
commit | c230ec2492eb0236464f4e746c84d8e49f9d085f (patch) | |
tree | 4f77491ce7e6bbf7b4ed5137892e3b9d4fc500fb /classes/sota.bbclass | |
parent | 2f1a31ea0e9637fd79530a1fedf8abce5a5a7b44 (diff) | |
download | meta-updater-c230ec2492eb0236464f4e746c84d8e49f9d085f.tar.gz |
meta: move HOSTTOOLS definitions to sota.conf.inc
HOSTTOOLS and HOSTTOOLS_NONFATAL are global variables that being
handled in base_eventhandler, so they must be defined in config files
or in INHERIT classes or classes being inherited by base.bbclass, or
else we might run into the following problems:
```
$ bitbake pkgname
$ bitbake imgname
```
the HOSTTOOLS and HOSTTOOLS_NONFATAL in the above image recipe, for
instance, 'repo python' in image_repo_manifest.bbclass, they would not
be copied to HOSTTOOLS_DIR.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r-- | classes/sota.bbclass | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index f6e904e..c248cfc 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -1,7 +1,5 @@ | |||
1 | DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" | 1 | DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES', 'sota', ':sota', '', d)}" |
2 | 2 | ||
3 | HOSTTOOLS_NONFATAL += "java" | ||
4 | |||
5 | SOTA_CLIENT ??= "aktualizr" | 3 | SOTA_CLIENT ??= "aktualizr" |
6 | SOTA_CLIENT_PROV ??= "aktualizr-shared-prov" | 4 | SOTA_CLIENT_PROV ??= "aktualizr-shared-prov" |
7 | SOTA_DEPLOY_CREDENTIALS ?= "1" | 5 | SOTA_DEPLOY_CREDENTIALS ?= "1" |