Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets maketars: add comments for skipped mtree keywords



details:   https://anonhg.NetBSD.org/src/rev/3622a8d520db
branches:  trunk
changeset: 376322:3622a8d520db
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Jun 10 14:11:08 2023 +0000

description:
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.

diffstat:

 distrib/sets/maketars |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r d466c2f4f3b1 -r 3622a8d520db distrib/sets/maketars
--- a/distrib/sets/maketars     Sat Jun 10 13:16:44 2023 +0000
+++ b/distrib/sets/maketars     Sat Jun 10 14:11:08 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index