[PATCH 16/18] image: populate_sdk_base: skip sstate creation

Ed Bartosh
2016-08-30T09:31:21Z

Set SSTATE_SKIP_CREATION variable to '1' for image_complete and
populate_sdk tasks as we don't want to put images and sdk installer
into sstate due to their big size. We added these tasks under sstate
control only for two reasons:
- to generate sstate manifest
- to make final deployments

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
meta/classes/image.bbclass | 1 +
meta/classes/populate_sdk_base.bbclass | 1 +
2 files changed, 2 insertions(+)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bbdfd8a..8e84b1b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -267,6 +267,7 @@ addtask do_image after do_rootfs before do_build

DEPLOYDIR = "${WORKDIR}/deploy-${PN}"
SSTATETASKS += "do_image_complete"
+SSTATE_SKIP_CREATION_task-image-complete = '1'

fakeroot python do_image_complete () {
from oe.utils import execute_pre_post_process
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index c1dac39..1914a3b 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -28,6 +28,7 @@ SDK_DEPLOY = "${DEPLOY_DIR}/sdk"

DEPLOYDIR = "${WORKDIR}/deploy-${PN}"
SSTATETASKS += "do_populate_sdk"
+SSTATE_SKIP_CREATION_task-populate-sdk = '1'

B_task-populate-sdk = "${SDK_DIR}"

--
2.1.4