From 7cce4ea8c968a1ff8df7ed867d6188242b1e5014 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 2 Mar 2024 21:21:51 +0100 Subject: jgvariant-tool, add-static-delta: Document better, accept modified Base64. Change-Id: Icad477b34d074164ffdd162afd91f4abf627b979 --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'README.md') 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 3... (in hex), between commits 1... and 2...: +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 3... (in hex), between the empty commit and 2...: +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 -- cgit v1.2.3