Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Langhoff <martin@laptop.org>2012-07-20 14:38:22 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-08-20 20:32:30 (GMT)
commit14ed75647fdd7aed4330ce1c973ca84073bc1c19 (patch)
tree998dbaefb68ca1b11978cdf417fcd39c3cfc5f92 /doc
parent92a911f8c468c42f6c3880aeee824f2e13438670 (diff)
Introduce --cache-only boolean option, propagate to modules
Along the way, add basic support for handling boolean values in python and shell scripts in modules. [dsd: trivial tweaks: renamed to --cache-only, use variable presence in environment for boolean testing, add documentation]
Diffstat (limited to 'doc')
-rw-r--r--doc/README26
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/README b/doc/README
index ad79946..7a46796 100644
--- a/doc/README
+++ b/doc/README
@@ -54,7 +54,31 @@ release was made.
Usage:
- olpc-os-builder <path to build config> [path to build config...]
+ olpc-os-builder [options] <path to build config> [path to build config...]
+
+
+Offline use:
+
+olpc-os-builder naturally involves a fair amount of downloading in its work.
+These downloads are cached, meaning that while the first run will do a lot
+of downloading, subsequent runs will reuse the locally cached content.
+
+However, those subsequent runs will still go online in order to check that
+cached content is up-to-date. This can be time consuming, especially
+on slow connections.
+
+If you want olpc-os-builder to trust its local caches, and not even go
+online to check that they are current, you can provide the --cache-only
+command-line option.
+
+For obvious reasons, cache-only mode requires you to have previously run
+the same build configuration in "normal" mode beforehand (i.e. without
+--cache-only specified), so that caches are populated.
+
+Be aware that less cache validation is performed during --cache-only runs.
+This means that corrupt caches or truncated files could be treated as good
+in cache-only mode, whereas such problems are generally detected and
+corrected when connectivity is used.
Configuration: