[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2438/8267] classes/populate_sdk_ext: exclude image tasks from locked signatures



commit 05602d9c48e289bd6f087891b017196300a928f6
Author: Amarnath Valluri <amarnath valluri intel com>
Date:   Tue Sep 6 16:13:06 2016 +0300

    classes/populate_sdk_ext: exclude image tasks from locked signatures
    
    Tasks for image recipes cannot be locked and should be excluded from eSDK
    generated locked-sigs.inc. get_sdk_install_targets() was not returning right
    image targets to be excluded incase of 'minimal' sdk. This change fixes the issue.
    
    (From OE-Core rev: 46401034f017d234833997d2fb3122190f9029bf)
    
    Signed-off-by: Amarnath Valluri <amarnath valluri intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 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 d8d123a..1a15d2a 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -43,7 +43,7 @@ SDK_TARGETS ?= "${PN}"
 
 def get_sdk_install_targets(d, images_only=False):
     sdk_install_targets = ''
-    if d.getVar('SDK_EXT_TYPE', True) != 'minimal':
+    if images_only or d.getVar('SDK_EXT_TYPE', True) != 'minimal':
         sdk_install_targets = d.getVar('SDK_TARGETS', True)
 
         depd = d.getVar('BB_TASKDEPDATA', False)


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