From a1b04a126e917dbfe1275f985edd9f8a54de9b3f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 15 Oct 2012 13:27:35 -0700 Subject: documentation: poky-ref-manual - added note about PATH Added a note explaining why "PATH" is needed when using SSTATE_MIRRORS if the shared state directory structure on the mirror is the same as SSTATE_DIR. (From yocto-docs rev: 94b8a45827d2bf7f16ec530de694ec5e4e6ed164) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/technical-details.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'documentation') diff --git a/documentation/poky-ref-manual/technical-details.xml b/documentation/poky-ref-manual/technical-details.xml index 8ce9e5da1b..2e30df1604 100644 --- a/documentation/poky-ref-manual/technical-details.xml +++ b/documentation/poky-ref-manual/technical-details.xml @@ -442,14 +442,24 @@ Behind the scenes, the shared state code works by looking in - SSTATE_DIR and - SSTATE_MIRRORS for shared state files. + SSTATE_DIR and + SSTATE_MIRRORS + for shared state files. Here is an example: 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" + + The shared state directory (SSTATE_DIR) is + organized into two-character subdirectories, where the subdirectory + names are based on the first two characters of the hash. + If the shared state directory structure for a mirror has the + same structure as SSTATE_DIR, you must + specify "PATH" as part of the URI to enable the build system + to map to the appropriate subdirectory. + -- cgit v1.2.3-54-g00ecf