diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-10-22 16:44:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 22:14:13 +0100 |
commit | 6e238791625d5811cf868faedde954e1dc429d74 (patch) | |
tree | c604ff6ba06854c8c4ce93e3e09fb1d001138272 /meta/classes/populate_sdk_base.bbclass | |
parent | faf705cd68c3a42cc64169d4c6d1db10c55575ac (diff) | |
download | poky-6e238791625d5811cf868faedde954e1dc429d74.tar.gz |
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>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 49e166e697..fafdd96749 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -179,6 +179,10 @@ do_populate_sdk[cleandirs] = "${SDKDEPLOYDIR}" | |||
179 | do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}" | 179 | do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}" |
180 | do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}" | 180 | do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}" |
181 | do_populate_sdk[stamp-extra-info] = "${MACHINE_ARCH}${SDKMACHINE}" | 181 | do_populate_sdk[stamp-extra-info] = "${MACHINE_ARCH}${SDKMACHINE}" |
182 | python do_populate_sdk_setscene () { | ||
183 | sstate_setscene(d) | ||
184 | } | ||
185 | addtask do_populate_sdk_setscene | ||
182 | 186 | ||
183 | PSEUDO_IGNORE_PATHS .= ",${SDKDEPLOYDIR},${WORKDIR}/oe-sdk-repo,${WORKDIR}/sstate-build-populate_sdk" | 187 | PSEUDO_IGNORE_PATHS .= ",${SDKDEPLOYDIR},${WORKDIR}/oe-sdk-repo,${WORKDIR}/sstate-build-populate_sdk" |
184 | 188 | ||