[oe-commits] [openembedded-core] 42/59: populate_sdk_ext: whitelist do_package tasks

git at git.openembedded.org git at git.openembedded.org
Thu May 18 12:15:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit 6549641a65b8e67ed46400921f89acf395f13a80
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Wed Jan 4 20:48:18 2017 +0200

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/populate_sdk_ext.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 9269a93..0ad1243 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -223,6 +223,9 @@ python copy_buildsystem () {
             # the sig computed from the metadata.
             f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n')
 
+            # Set up whitelist for run on install
+            f.write('BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work *:do_package"\n\n')
+
             # Hide the config information from bitbake output (since it's fixed within the SDK)
             f.write('BUILDCFG_HEADER = ""\n\n')
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list