Skip to contentSkip to conversation

bitbake.conf: Exclude sstate-outputdirs flag from checksums

PATCH New Richard Purdie 1 participant 1 message Sep 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Exclude sstate-outputdirs flag from checksums

This was making deploy tasks MACHINE specific since they place output into DEPLOY_DIR_IMAGE which contains MACHINE. On the plus side, this was accidentally ensuring the output was placed for each machine, on the downside it was triggering a rebuild every time for the different checksum.

There is a better way to handle this which avoids the rebuild, see the following tweak to do_deploy to mark it as MACHINE specific in a different way.

meta/conf/bitbake.conf +1 -1
index aff2e89..08f34e0 100644
@@ -800,7 +800,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
     lockfiles type vardepsexclude vardeps vardepvalue vardepvalueexclude \
     file-checksums python func task export unexport noexec nostamp dirs cleandirs \
     sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \
-    recrdeptask nodeprrecs stamp-base stamp-extra-info"
+    recrdeptask nodeprrecs stamp-base stamp-extra-info sstate-outputdirs"
 
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""