mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
conf/fragments: add a fragment for CDN sstate mirror
This will be used in bitbake-setup official configurations and it will be awesome. (From OE-Core rev: ee80c4f013052950ebc4107a2aa4f9ffc1b28975) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0c7dc5bae1
commit
5de314ddb3
12
meta/conf/fragments/yocto/sstate-mirror-cdn.conf
Normal file
12
meta/conf/fragments/yocto/sstate-mirror-cdn.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations."
|
||||
BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \
|
||||
This fragment enables their use. This will mean the build will query the \
|
||||
the network to check for artefacts at the start of builds, which does slow it down \
|
||||
initially but it will then speed up the builds by not having to build things if they are \
|
||||
present in the cache. It assumes you can download something faster than you can build it \
|
||||
which will depend on your network. \
|
||||
Note: For this to work you also need hash-equivalence passthrough to the matching server \
|
||||
"
|
||||
|
||||
BB_HASHSERVE_UPSTREAM = 'wss://hashserv.yoctoproject.org/ws'
|
||||
SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
|
Loading…
Reference in New Issue
Block a user