diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 14:52:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 17:15:54 +0000 |
commit | 8d17c39cd66f55fab628d6a19780b167dfc37b7a (patch) | |
tree | 2a5b1b2e801a28cf6bd1d0c5b027a06ee770b592 /meta/classes | |
parent | 4021080d8e80e5d476a81c79539f59903e35a97a (diff) | |
download | poky-8d17c39cd66f55fab628d6a19780b167dfc37b7a.tar.gz |
sstate: Exclude SSTATE_EXTRAPATH from checksums
After the change to allow target recipes to depend on native recipes, the
native checksums becomes all the more critical. Add to this that we're now
accounting for pre/postfuncs and we have a cache reuse issue since the
distro LSB string is getting coded in when it shouldn't be.
This excludes that string and allows one set of native sstate to share
checksums with another set from a different host distro. They're separated
into different directories so this is fine for our use cases.
(From OE-Core rev: 1fa7d4331d994b9eeb6f973d1a1f04cb4df92c13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index ec9c5463ea..f7bd1174d8 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -17,6 +17,10 @@ SSTATE_EXTRAPATH = "" | |||
17 | SSTATE_EXTRAPATHWILDCARD = "" | 17 | SSTATE_EXTRAPATHWILDCARD = "" |
18 | SSTATE_PATHSPEC = "${SSTATE_DIR}/${SSTATE_EXTRAPATHWILDCARD}*/${SSTATE_PKGSPEC}" | 18 | SSTATE_PATHSPEC = "${SSTATE_DIR}/${SSTATE_EXTRAPATHWILDCARD}*/${SSTATE_PKGSPEC}" |
19 | 19 | ||
20 | # We don't want the sstate to depend on things like the distro string | ||
21 | # of the system, we let the sstate paths take care of this. | ||
22 | SSTATE_EXTRAPATH[vardepvalue] = "" | ||
23 | |||
20 | SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/" | 24 | SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/" |
21 | # Also need to make cross recipes append to ${PN} and install once for any given PACAGE_ARCH so | 25 | # Also need to make cross recipes append to ${PN} and install once for any given PACAGE_ARCH so |
22 | # can avoid multiple installs (e.g. routerstationpro+qemumips both using mips32) | 26 | # can avoid multiple installs (e.g. routerstationpro+qemumips both using mips32) |