diff options
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index cddc306514..245adc1559 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -39,7 +39,7 @@ SDK_UPDATE_URL ?= "" | |||
39 | 39 | ||
40 | SDK_TARGETS ?= "${PN}" | 40 | SDK_TARGETS ?= "${PN}" |
41 | 41 | ||
42 | def get_sdk_install_targets(d): | 42 | def get_sdk_install_targets(d, images_only=False): |
43 | sdk_install_targets = '' | 43 | sdk_install_targets = '' |
44 | if d.getVar('SDK_EXT_TYPE', True) != 'minimal': | 44 | if d.getVar('SDK_EXT_TYPE', True) != 'minimal': |
45 | sdk_install_targets = d.getVar('SDK_TARGETS', True) | 45 | sdk_install_targets = d.getVar('SDK_TARGETS', True) |
@@ -50,8 +50,9 @@ def get_sdk_install_targets(d): | |||
50 | if v[0] not in sdk_install_targets: | 50 | if v[0] not in sdk_install_targets: |
51 | sdk_install_targets += ' {}'.format(v[0]) | 51 | sdk_install_targets += ' {}'.format(v[0]) |
52 | 52 | ||
53 | if d.getVar('SDK_INCLUDE_PKGDATA', True) == '1': | 53 | if not images_only: |
54 | sdk_install_targets += ' meta-world-pkgdata:do_allpackagedata' | 54 | if d.getVar('SDK_INCLUDE_PKGDATA', True) == '1': |
55 | sdk_install_targets += ' meta-world-pkgdata:do_allpackagedata' | ||
55 | 56 | ||
56 | return sdk_install_targets | 57 | return sdk_install_targets |
57 | 58 | ||
@@ -283,7 +284,7 @@ python copy_buildsystem () { | |||
283 | f.write('\n') | 284 | f.write('\n') |
284 | 285 | ||
285 | # Filter the locked signatures file to just the sstate tasks we are interested in | 286 | # Filter the locked signatures file to just the sstate tasks we are interested in |
286 | excluded_targets = d.getVar('SDK_TARGETS', True) | 287 | excluded_targets = get_sdk_install_targets(d, images_only=True) |
287 | sigfile = d.getVar('WORKDIR', True) + '/locked-sigs.inc' | 288 | sigfile = d.getVar('WORKDIR', True) + '/locked-sigs.inc' |
288 | lockedsigs_pruned = baseoutpath + '/conf/locked-sigs.inc' | 289 | lockedsigs_pruned = baseoutpath + '/conf/locked-sigs.inc' |
289 | oe.copy_buildsystem.prune_lockedsigs([], | 290 | oe.copy_buildsystem.prune_lockedsigs([], |