Module Name: src Committed By: lukem Date: Sat Jun 10 14:11:08 UTC 2023
Modified Files: src/distrib/sets: maketars Log Message: maketars: add comments for skipped mtree keywords Reorder skipkeys alphabetically and add comment explaining the purpose and why sha256 is not part of the variable. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/distrib/sets/maketars Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/maketars diff -u src/distrib/sets/maketars:1.94 src/distrib/sets/maketars:1.95 --- src/distrib/sets/maketars:1.94 Sun Aug 21 07:10:03 2022 +++ src/distrib/sets/maketars Sat Jun 10 14:11:08 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: maketars,v 1.94 2022/08/21 07:10:03 lukem Exp $ +# $NetBSD: maketars,v 1.95 2023/06/10 14:11:08 lukem Exp $ # # Make release tar files for some or all lists. Usage: # maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir] @@ -30,9 +30,12 @@ setlistdir= timestamp= setfilesonly=false quiet=false -skipkeys=time,md5,sha1,sha384,sha512,rmd160,cksum preserve="-pe" +# mtree(8) keys to skip (exclude) in the generated /etc/mtree/sets.* files. +# Note: sets contain sha256 so that keyword is not listed here. +skipkeys=cksum,md5,rmd160,sha1,sha384,sha512,time + usage() { cat 1>&2 <<USAGE