From: Alexander Kanavin <[email protected]> This will be used in bitbake-setup official configurations and it will be awesome.
Signed-off-by: Alexander Kanavin <[email protected]> --- meta/conf/fragments/yocto/sstate-mirror-cdn.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta/conf/fragments/yocto/sstate-mirror-cdn.conf 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 00000000000..8c00d739b36 --- /dev/null +++ b/meta/conf/fragments/yocto/sstate-mirror-cdn.conf @@ -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://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH" -- 2.39.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#211875): https://lists.openembedded.org/g/openembedded-core/message/211875 Mute This Topic: https://lists.openembedded.org/mt/111375715/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
