[oe-commits] [openembedded-core] 05/25: classes/populate_sdk_ext: exclude image tasks from locked signatures

git at git.openembedded.org git at git.openembedded.org
Wed Sep 14 21:23:22 UTC 2016


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

commit 46401034f017d234833997d2fb3122190f9029bf
Author: Amarnath Valluri <amarnath.valluri at intel.com>
AuthorDate: 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.
    
    Signed-off-by: Amarnath Valluri <amarnath.valluri at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/populate_sdk_ext.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

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


More information about the Openembedded-commits mailing list