summaryrefslogtreecommitdiffstats
path: root/classes/image_repo_manifest.bbclass
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2020-01-26 22:14:20 +0100
committerMing Liu <liu.ming50@gmail.com>2020-01-26 22:27:42 +0100
commit5a1aeb33bebdd73387e649122fa1f33dbe965243 (patch)
treee6d03b8a83f8da92b31afa08dcd118c5e78058ac /classes/image_repo_manifest.bbclass
parent2b64ba13985bd016d919fac794b4ba00d2495ecf (diff)
downloadmeta-updater-pr/669.tar.gz
meta: move HOSTTOOLS definitions to sota.conf.incpr/669
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/image_repo_manifest.bbclass')
-rw-r--r--classes/image_repo_manifest.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/classes/image_repo_manifest.bbclass b/classes/image_repo_manifest.bbclass
index 0b311bd..72dc28f 100644
--- a/classes/image_repo_manifest.bbclass
+++ b/classes/image_repo_manifest.bbclass
@@ -9,8 +9,6 @@
9# For more information, see: 9# For more information, see:
10# https://web.archive.org/web/20161224194009/https://wiki.cyanogenmod.org/w/Doc:_Using_manifests 10# https://web.archive.org/web/20161224194009/https://wiki.cyanogenmod.org/w/Doc:_Using_manifests
11 11
12HOSTTOOLS_NONFATAL += "repo python"
13
14# Write build information to target filesystem 12# Write build information to target filesystem
15buildinfo_manifest () { 13buildinfo_manifest () {
16 if [ $(which repo) ]; then 14 if [ $(which repo) ]; then