summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-04 20:48:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-18 13:14:21 +0100
commit47ef8716492bcaf7396d907bbae516e77319da84 (patch)
treea0b7a28c18e52d35bbfefea8724b2555dff1ce5c /meta/classes
parentdb0832ead63020788f5d10360f0704e9ee280916 (diff)
downloadpoky-47ef8716492bcaf7396d907bbae516e77319da84.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) (From OE-Core rev: 6549641a65b8e67ed46400921f89acf395f13a80) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 9269a93601..0ad1243d4f 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -223,6 +223,9 @@ python copy_buildsystem () {
223 # the sig computed from the metadata. 223 # the sig computed from the metadata.
224 f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n') 224 f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n')
225 225
226 # Set up whitelist for run on install
227 f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work *:do_package"\n\n')
228
226 # Hide the config information from bitbake output (since it's fixed within the SDK) 229 # Hide the config information from bitbake output (since it's fixed within the SDK)
227 f.write('BUILDCFG_HEADER = ""\n\n') 230 f.write('BUILDCFG_HEADER = ""\n\n')
228 231