summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-10-11 14:27:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-15 14:43:48 +0100
commit1e4028c5d36f128fd848b0b0516864cc6ea8c1f3 (patch)
tree32e353d9cd37f4cb4848a17b315d843ac154f0bb /meta-yocto
parentf851202b2f82dbf56a1171212512e5361dcbaf33 (diff)
downloadpoky-1e4028c5d36f128fd848b0b0516864cc6ea8c1f3.tar.gz
local.conf.sample: add PATH to SSTATE_MIRRORS comments
The shared state cache as pointed to by SSTATE_DIR by default now has two-character subdirectories to prevent there being an issue with too many files in the same directory; also, native sstate packages will go into a subdirectory named using the distro ID string. If you copy the newly structured sstate cache to a mirror location (either local or remote) and then point to it in SSTATE_MIRRORS, you need to append "PATH" to the end of the mirror URL so that the path used by bitbake before the mirror substitution is appended to the path used to access the mirror. (From meta-yocto rev: 2724ec2601efeb677df251c46bbcc6a7f255103d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/local.conf.sample7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
index 31d58d7c88..23af275e16 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-yocto/conf/local.conf.sample
@@ -216,9 +216,12 @@ PATCHRESOLVE = "noop"
216# would contain the sstate-cache results from previous builds (possibly from other 216# would contain the sstate-cache results from previous builds (possibly from other
217# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the 217# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
218# cache locations to check for the shared objects. 218# cache locations to check for the shared objects.
219# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
220# at the end as shown in the examples below. This will be substituted with the
221# correct path within the directory structure.
219#SSTATE_MIRRORS ?= "\ 222#SSTATE_MIRRORS ?= "\
220#file://.* http://someserver.tld/share/sstate/ \n \ 223#file://.* http://someserver.tld/share/sstate/PATH \n \
221#file://.* file:///some/local/dir/sstate/" 224#file://.* file:///some/local/dir/sstate/PATH"
222 225
223# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to 226# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
224# track the version of this file when it was generated. This can safely be ignored if 227# track the version of this file when it was generated. This can safely be ignored if