aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2024-03-02 21:21:51 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2024-03-02 21:22:44 +0100
commit7cce4ea8c968a1ff8df7ed867d6188242b1e5014 (patch)
treeb636b3a789c8a3aca45dfa2b0b530a8d1604f939 /README.md
parent8e5f1f5154d93e60422407a5387d8b9967fc5952 (diff)
jgvariant-tool, add-static-delta: Document better, accept modified Base64.
Change-Id: Icad477b34d074164ffdd162afd91f4abf627b979
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/README.md b/README.md
index 8254404..dc3f37f 100644
--- a/README.md
+++ b/README.md
@@ -87,13 +87,19 @@ Output:
#### Adding a static delta to an [OSTree][] summary file
-Static delta <code>3...</code> (in hex), between commits <code>1...</code> and <code>2...</code>:
+Superblock checksum `0...`, between commits `3...` and `6...`:
- $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 3333333333333333333333333333333333333333333333333333333333333333 2222222222222222222222222222222222222222222222222222222222222222 1111111111111111111111111111111111111111111111111111111111111111
+ $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 03738040e28e7662e9c9d2599c530ea974e642c9f87e6c00cbaa39a0cdac8d44 66ff167ff35ce87daac817447a9490a262ee75f095f017716a6eb1a9d9eb3350 3d3b3329dca38871f29aeda1bf5854d76c707fa269759a899d0985c91815fe6f
-Static delta <code>3...</code> (in hex), between the empty commit and <code>2...</code>:
+Superblock checksum `f...`, between the empty commit and `3...`:
+
+ $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary f481144629474bd88c106e45ac405ebd75b324b0655af1aec14b31786ae1fd61 31c8835d5c9d2c6687a50091c85142d1b2d853ff416a9fb81b4ee30754510d52
+
+Checksums can be given in either hex (64 digits) or a variant of Base64 (43
+digits) where `/` is replaced by `_`. The latter format is used to identify
+the start and end commits of deltas as part of folder names below `deltas/` in
+the OSTree repository itself.
- $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 4444444444444444444444444444444444444444444444444444444444444444 2222222222222222222222222222222222222222222222222222222222222222
### Building the tool