diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-10-06 16:18:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-10-06 16:18:31 -0400 |
commit | 6a4a77f2b22783b9b0fbad557ea5a8b63422bbda (patch) | |
tree | cd48a2edb792cc008bfa66ad5b03c7131c620e08 /etc | |
parent | main: drop pointless os.path import (diff) | |
download | catalyst-6a4a77f2b22783b9b0fbad557ea5a8b63422bbda.tar.gz catalyst-6a4a77f2b22783b9b0fbad557ea5a8b63422bbda.tar.bz2 catalyst-6a4a77f2b22783b9b0fbad557ea5a8b63422bbda.zip |
catalyst: add support for digests=auto
Rather than require people to list all possible hashes, add support for
an "auto" keyword. This serves two purposes:
- any digest that is missing system support (e.g. missing prog), then
that digest will be silently skipped
- if it's the only value, then all available digests will be added
Diffstat (limited to 'etc')
-rw-r--r-- | etc/catalyst.conf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/catalyst.conf b/etc/catalyst.conf index a2abb4a0..939e9413 100644 --- a/etc/catalyst.conf +++ b/etc/catalyst.conf @@ -4,13 +4,15 @@ # documentation for more information. # Creates a .DIGESTS file containing the hash output from any of the supported -# options below. Adding them all may take a long time. +# options below. Adding them all may take a long time on slower systems. The +# special "auto" keyword will skip digests that the system does not support, +# and if it's the only keyword given, will default to enabling all digests. # Supported hashes: # adler32, crc32, crc32b, gost, haval128, haval160, haval192, haval224, # haval256, md2, md4, md5, ripemd128, ripemd160, ripemd256, ripemd320, sha1, # sha224, sha256, sha384, sha512, snefru128, snefru256, tiger, tiger128, # tiger160, whirlpool -digests="md5 sha1 sha512 whirlpool" +digests="auto" # Creates a .CONTENTS file listing the contents of the file. Pick from any of # the supported options below: |