mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
classes/populate_sdk_base: Add setscene tasks
do_populate_sdk was added to SSTATETASKS, but had no _setscene task created to allow it to actually run from sstate. Add it so that SDKs can be restored from sstate. Note that like do_image_complete, do_populate_sdk is marked with SSTATE_SKIP_CREATION by default so sstate is not used for them; adding this task will allow it to work if the user overrides this default though. (From OE-Core rev: 1f204592903a2fd9375b0f3c9c52e7dde0467460) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
faf705cd68
commit
6e23879162
@@ -179,6 +179,10 @@ do_populate_sdk[cleandirs] = "${SDKDEPLOYDIR}"
|
||||
do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}"
|
||||
do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}"
|
||||
do_populate_sdk[stamp-extra-info] = "${MACHINE_ARCH}${SDKMACHINE}"
|
||||
python do_populate_sdk_setscene () {
|
||||
sstate_setscene(d)
|
||||
}
|
||||
addtask do_populate_sdk_setscene
|
||||
|
||||
PSEUDO_IGNORE_PATHS .= ",${SDKDEPLOYDIR},${WORKDIR}/oe-sdk-repo,${WORKDIR}/sstate-build-populate_sdk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user