]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/populate_sdk_ext: exclude image tasks from locked signatures
authorAmarnath Valluri <amarnath.valluri@intel.com>
Tue, 6 Sep 2016 13:13:06 +0000 (16:13 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:20:03 +0000 (22:20 +0100)
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@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_ext.bbclass

index d8d123a0e5ce8021bd871a4344a691034bfc657f..1a15d2a70b53fc7636f6fca83b15265bb55d0ad3 100644 (file)
@@ -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)