path: root/meta/recipes-core/meta/
diff options
authorPaul Eggleton <>2016-07-23 00:38:09 +1200
committerRichard Purdie <>2016-07-25 23:47:02 +0100
commited0d8ed72370df694f720cc13897493478dc1de9 (patch)
tree88a0a7cb8246c77591534e6cce6940e2d470a2c5 /meta/recipes-core/meta/
parent8110806b1b5534ae830a4fdd1a5293c86a712d0b (diff)
classes/populate_sdk_ext: allow including toolchain in eSDK on install
If we're to completely replace the standard SDK with the extensible SDK, we need to be able to provide the standard toolchain on install without doing anything other than installing it, so that you can install the SDK and then point your IDE at it. This is particularly applicable to the minimal SDK which normally installs nothing by default. NOTE: enabling this option currently adds ~280MB to the size of the minimal eSDK installer. If we need to reduce this further we would have to look at adjusting the dependencies and/or the sstate_depvalid() function in sstate.bbclass which eliminates dependencies, or look at reducing the size of the artifacts themselves. Implements [YOCTO #9751]. Signed-off-by: Paul Eggleton <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-core/meta/')
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/ b/meta/recipes-core/meta/
index 9bff22053c..886ff076dc 100644
--- a/meta/recipes-core/meta/
+++ b/meta/recipes-core/meta/
@@ -11,3 +11,18 @@ do_populate_sysroot[deptask] = "do_populate_sysroot"
# NOTE: There is logic specific to this recipe in setscene_depvalid()
# within sstate.bbclass, so if you copy or rename this and expect the same
# functionality you'll need to modify that as well.
+LOCKED_SIGS_INDIR = "${D}/locked-sigs"
+addtask do_locked_sigs after do_populate_sysroot
+SSTATETASKS += "do_locked_sigs"
+do_locked_sigs[sstate-inputdirs] = "${LOCKED_SIGS_INDIR}"
+do_locked_sigs[sstate-outputdirs] = "${STAGING_DIR_HOST}/locked-sigs"
+python do_locked_sigs() {
+ import oe.copy_buildsystem
+ outdir = os.path.join(d.getVar('LOCKED_SIGS_INDIR', True))
+ bb.utils.mkdirhier(outdir)
+ sigfile = os.path.join(outdir, '')
+ oe.copy_buildsystem.generate_locked_sigs(sigfile, d)