]> code.ossystems Code Review - openembedded-core.git/commitdiff
Add archiver folder to SSTATE_DUPWHITELIST
authorAdrian <adrian.freihofer@gmail.com>
Fri, 13 Mar 2015 16:39:45 +0000 (17:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 10:59:04 +0000 (10:59 +0000)
Without this patch the source archiver class is not allowed to
archive the same source archive for different builds.

Signed-off-by: Adrian <adrian.freihofer@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sstate.bbclass

index ace6bdb57aa54b35a43be402862ecd8eb45bcdce..2f0632af8987cbcd8404327b4d4dc37dc505fa0b 100644 (file)
@@ -25,6 +25,8 @@ SSTATE_EXTRAPATH[vardepvalue] = ""
 SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/ ${DEPLOY_DIR_RPM}/all/"
 # Avoid docbook/sgml catalog warnings for now
 SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml"
+# Archive the sources for many architectures in one deploy folder
+SSTATE_DUPWHITELIST += "${DEPLOY_DIR_SRC}"
 
 SSTATE_SCAN_FILES ?= "*.la *-config *_config"
 SSTATE_SCAN_CMD ?= 'find ${SSTATE_BUILDDIR} \( -name "${@"\" -o -name \"".join(d.getVar("SSTATE_SCAN_FILES", True).split())}" \) -type f'