[gnome-continuous-yocto/gnomeostree-3.22-krogoth: 207/246] populate_sdk_ext: whitelist do_package tasks



commit 47ef8716492bcaf7396d907bbae516e77319da84
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   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)
    
    (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>

 meta/classes/populate_sdk_ext.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
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')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]