diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2016-09-06 16:13:06 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:09 +0100 |
commit | 05602d9c48e289bd6f087891b017196300a928f6 (patch) | |
tree | e14c73a3225bd3320d15ee626df411f2e150f6e8 | |
parent | 7c2d1975729064aca427c93f9946c553d602948f (diff) | |
download | poky-05602d9c48e289bd6f087891b017196300a928f6.tar.gz |
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>
-rw-r--r-- | 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 d8d123a0e5..1a15d2a70b 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -43,7 +43,7 @@ SDK_TARGETS ?= "${PN}" | |||
43 | 43 | ||
44 | def get_sdk_install_targets(d, images_only=False): | 44 | def get_sdk_install_targets(d, images_only=False): |
45 | sdk_install_targets = '' | 45 | sdk_install_targets = '' |
46 | if d.getVar('SDK_EXT_TYPE', True) != 'minimal': | 46 | if images_only or d.getVar('SDK_EXT_TYPE', True) != 'minimal': |
47 | sdk_install_targets = d.getVar('SDK_TARGETS', True) | 47 | sdk_install_targets = d.getVar('SDK_TARGETS', True) |
48 | 48 | ||
49 | depd = d.getVar('BB_TASKDEPDATA', False) | 49 | depd = d.getVar('BB_TASKDEPDATA', False) |