diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-04 20:48:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-12 17:52:04 +0000 |
commit | a3fa5ce87619e81d7acfa43340dd18d8f2b2d7dc (patch) | |
tree | fb1742bc973031612a13971bdc9bd2273260a88d | |
parent | fd30939f5fe6c0c905b65cb45c9ce69e07a68362 (diff) | |
download | poky-a3fa5ce87619e81d7acfa43340dd18d8f2b2d7dc.tar.gz |
populate_sdk_ext: whitelist do_package tasks
With enabled SSTATE_MIRRORS sstate code expects mirrors to
contain entries for all tasks, which is not the case for ext
installer as it uses reduced sstate cache.
Added do_package tasks to BB_SETSCENE_ENFORCE_WHITELIST to prevent
installer failing with ERROR: Sstate artifact unavailable
[YOCTO #10832]
(From OE-Core rev: 2ed46ada4b8e496493835e84b36f7e9c367f59d2)
(From OE-Core rev: eb2fc2cd9081a4533ed30fe81c9f491b06cc5ae1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 8cd31f3c06..39f6142741 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -305,7 +305,7 @@ python copy_buildsystem () { | |||
305 | f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n') | 305 | f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n') |
306 | 306 | ||
307 | # Set up whitelist for run on install | 307 | # Set up whitelist for run on install |
308 | f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work"\n\n') | 308 | f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work *:do_package"\n\n') |
309 | 309 | ||
310 | # Hide the config information from bitbake output (since it's fixed within the SDK) | 310 | # Hide the config information from bitbake output (since it's fixed within the SDK) |
311 | f.write('BUILDCFG_HEADER = ""\n\n') | 311 | f.write('BUILDCFG_HEADER = ""\n\n') |