[oe-commits] Paul Eggleton : local.conf.sample: add PATH to SSTATE_MIRRORS comments

git at git.openembedded.org git at git.openembedded.org
Mon Oct 15 13:53:50 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 40cf43c1c2fa15d0ee4bcc1226d9184747695b88
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=40cf43c1c2fa15d0ee4bcc1226d9184747695b88

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Thu Oct 11 14:27:10 2012 +0100

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.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/local.conf.sample |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 04d947f..d181e75 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -194,9 +194,12 @@ PATCHRESOLVE = "noop"
 # would contain the sstate-cache results from previous builds (possibly from other 
 # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the 
 # cache locations to check for the shared objects.
+# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
+# at the end as shown in the examples below. This will be substituted with the
+# correct path within the directory structure.
 #SSTATE_MIRRORS ?= "\
-#file://.* http://someserver.tld/share/sstate/ \n \
-#file://.* file:///some/local/dir/sstate/"
+#file://.* http://someserver.tld/share/sstate/PATH \n \
+#file://.* file:///some/local/dir/sstate/PATH"
 
 # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
 # track the version of this file when it was generated. This can safely be ignored if





More information about the Openembedded-commits mailing list