diff options
author | Ming Liu <liu.ming50@gmail.com> | 2020-01-26 22:14:20 +0100 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2020-01-30 16:07:07 +0100 |
commit | 3a2fecfc1d78e4b161f7180f35fc7d0a1a967ae6 (patch) | |
tree | d94f63aac2737a32ce47147b24e3732c76982df4 /conf/distro/sota.conf.inc | |
parent | 01282c3e9ecb1aff1afd58d53f83f4a98ea934a6 (diff) | |
download | meta-updater-3a2fecfc1d78e4b161f7180f35fc7d0a1a967ae6.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 'conf/distro/sota.conf.inc')
-rw-r--r-- | conf/distro/sota.conf.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 69d729c..9804694 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
@@ -17,4 +17,5 @@ INHERIT += "reproducible_build_simple" | |||
17 | export SOURCE_DATE_EPOCH = "0" | 17 | export SOURCE_DATE_EPOCH = "0" |
18 | REPRODUCIBLE_TIMESTAMP_ROOTFS = "0" | 18 | REPRODUCIBLE_TIMESTAMP_ROOTFS = "0" |
19 | 19 | ||
20 | HOSTTOOLS_append = " sync sha256sum" | 20 | HOSTTOOLS += "git sync sha256sum" |
21 | HOSTTOOLS_NONFATAL += "java repo python" | ||