diff --git a/static/build.html b/static/build.html index 9201587f..549e60af 100644 --- a/static/build.html +++ b/static/build.html @@ -67,7 +67,12 @@
target_files
zip.
+ Incremental updates shipping only the changes between two versions can be generated
+ as a much more efficient way of shipping updates than a full update package containing
+ the entire operating system. The GrapheneOS Updater app will automatically use a delta
+ update if one exists for going directly from the currently installed version to the
+ latest release. In order to generate a delta update, the original signed target files
+ package for both the source version and target version are needed. The
+ script/generate_delta.sh
script provides a wrapper script for generating
+ delta updates by passing the device, source version build number and target version
+ build number. For example:
script/generate_delta.sh crosshatch 2019.09.25.00 2019.10.07.21+ +
The script assumes that the releases are organized in the following directory + structure:
+ +releases +├── 2019.09.25.00 +│ └── release-crosshatch-2019.09.25.00 +│ ├── crosshatch-factory-2019.09.25.00.zip +│ ├── crosshatch-factory-2019.09.25.00.zip.sig +│ ├── crosshatch-img-2019.09.25.00.zip +│ ├── crosshatch-ota_update-2019.09.25.00.zip +│ ├── crosshatch-target_files-2019.09.25.00.zip +│ └── crosshatch-testing +└── 2019.10.07.21 + └── release-crosshatch-2019.10.07.21 + ├── crosshatch-factory-2019.10.07.21.zip + ├── crosshatch-factory-2019.10.07.21.zip.sig + ├── crosshatch-img-2019.10.07.21.zip + ├── crosshatch-ota_update-2019.10.07.21.zip + ├── crosshatch-target_files-2019.10.07.21.zip + └── crosshatch-testing+