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-05 13:54:06 +0000 |
commit | e30f5002c4f216757ace27ad8d06164716ca46b5 (patch) | |
tree | 077b249c9abf57ea9e635f89d420126c1e91631f /meta/classes/populate_sdk_ext.bbclass | |
parent | 556725188f69c60abe19a37774e86848d2aea2a1 (diff) | |
download | poky-e30f5002c4f216757ace27ad8d06164716ca46b5.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)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-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 fc9cc223b6..d1b3fb4e86 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') |