aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-04 19:14:00 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-24 18:43:21 -0800
commit7457cd3b1a5f3ed4a566bbf23e36c939af06967c (patch)
tree253f17e329ba2dced77160c4527a2827da9f64aa /doc
parentarch: Add armv6j hardfloat musl subarch (diff)
downloadcatalyst-7457cd3b1a5f3ed4a566bbf23e36c939af06967c.tar.gz
catalyst-7457cd3b1a5f3ed4a566bbf23e36c939af06967c.tar.bz2
catalyst-7457cd3b1a5f3ed4a566bbf23e36c939af06967c.zip
catalyst: generate .sha256 file if any digest is enabled
checksum format is simple one, identical to one sha256sum from coreutils produces, lines starting with # are ignored. example:[1] # SHA256 HASH xxxx..... stage3-....tar.xz systemd upstream calls it suse-style .sha256 files.[0] infra already supports inline signing of files. Bug: https://bugs.gentoo.org/821568 [0] https://github.com/systemd/systemd/blob/aedec452b9e5dd197881f2164fb205dfe8bfdcec/src/import/pull-common.c#L236 [1] https://mirrors.edge.kernel.org/opensuse/distribution/leap/15.0/iso/openSUSE-Leap-15.0-DVD-x86_64.iso.sha256 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/catalyst-config.5.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/catalyst-config.5.txt b/doc/catalyst-config.5.txt
index 003d40b6..ca9335d6 100644
--- a/doc/catalyst-config.5.txt
+++ b/doc/catalyst-config.5.txt
@@ -38,9 +38,10 @@ Basic configuration
*digests*::
Create a `.DIGESTS` file containing the hash output from any of the
supported options below. Adding them all may take a long time.
-(example: `md5 sha1 sha512 whirlpool`). The set of supported hashes
-is dependent on the version of Python. To see the set of hashes
-supported by the version of Python in use, run
+(example: `md5 sha1 sha512 whirlpool`). Enabling ANY digest will
+generate `.sha256` file in addition `.DIGESTS` file. The set of
+supported hashes is dependent on the version of Python. To see the
+set of hashes supported by the version of Python in use, run
+
---------------------------------
$ python3 -c 'import hashlib; print(hashlib.algorithms_available)'