diff options
-rw-r--r-- | meta/conf/fragments/yocto/sstate-mirror-cdn.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/conf/fragments/yocto/sstate-mirror-cdn.conf b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf new file mode 100644 index 0000000000..e204975ce3 --- /dev/null +++ b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations." | ||
2 | BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \ | ||
3 | This fragment enables their use. This will mean the build will query the \ | ||
4 | the network to check for artefacts at the start of builds, which does slow it down \ | ||
5 | initially but it will then speed up the builds by not having to build things if they are \ | ||
6 | present in the cache. It assumes you can download something faster than you can build it \ | ||
7 | which will depend on your network. \ | ||
8 | Note: For this to work you also need hash-equivalence passthrough to the matching server \ | ||
9 | " | ||
10 | |||
11 | BB_HASHSERVE_UPSTREAM = 'wss://hashserv.yoctoproject.org/ws' | ||
12 | SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" | ||