Skip to content
Snippets Groups Projects
Commit 2b2dc3b9 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

flavours: disable public sstate cache by default


The cache is relatively network-heavy, as it attempts to check if one of
myriad of cache files is available and is somewhat misleading, since the
cache only works for the small subset of configurations that have been
cleared for legal re-distribution and have a public cache available.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 426d760b
No related branches found
No related tags found
No related merge requests found
......@@ -69,9 +69,13 @@ PACKAGE_CLASSES ?= "package_rpm"
# this doesn't mean anything to you.
CONF_VERSION = "1"
# Use OSTC download and sstate-cache by default. You can comment out or remove
# those lines and use the defaults from Poky. Note that this cache is limited
# to system configurations that are entirely re-distributable.
# Use OSTC download cache default.
# Note that this cache is limited to system configurations that are entirely
# re-distributable, as determined by the OSTC legal team.
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL = "https://cache.ostc-eu.org/bitbake/downloads"
SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
# If you are building on a very slow device but have relatively reliable network access
# *and* the project you are building has a public sstate cache, you may choose to uncomment
# this line and use the sstate cache published by OSTC.
# SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
......@@ -250,9 +250,13 @@ PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
# this doesn't mean anything to you.
CONF_VERSION = "1"
# Use OSTC download and sstate-cache by default. You can comment out or remove
# those lines and use the defaults from Poky. Note that this cache is limited
# to system configurations that are entirely re-distributable.
# Use OSTC download cache default.
# Note that this cache is limited to system configurations that are entirely
# re-distributable, as determined by the OSTC legal team.
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL = "https://cache.ostc-eu.org/bitbake/downloads"
SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
# If you are building on a very slow device but have relatively reliable network access
# *and* the project you are building has a public sstate cache, you may choose to uncomment
# this line and use the sstate cache published by OSTC.
# SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
......@@ -252,9 +252,13 @@ PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
# this doesn't mean anything to you.
CONF_VERSION = "1"
# Use OSTC download and sstate-cache by default. You can comment out or remove
# those lines and use the defaults from Poky. Note that this cache is limited
# to system configurations that are entirely re-distributable.
# Use OSTC download cache default.
# Note that this cache is limited to system configurations that are entirely
# re-distributable, as determined by the OSTC legal team.
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL = "https://cache.ostc-eu.org/bitbake/downloads"
SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
# If you are building on a very slow device but have relatively reliable network access
# *and* the project you are building has a public sstate cache, you may choose to uncomment
# this line and use the sstate cache published by OSTC.
# SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment