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. +