Module Name: src Committed By: martin Date: Tue Jan 30 10:24:39 UTC 2024
Modified Files: src/distrib/sets: maketars Log Message: Fix previous, use sed to fix up the set.${set} line in non-METAFILE mode To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 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.99 src/distrib/sets/maketars:1.100 --- src/distrib/sets/maketars:1.99 Mon Jan 29 15:56:49 2024 +++ src/distrib/sets/maketars Tue Jan 30 10:24:39 2024 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: maketars,v 1.99 2024/01/29 15:56:49 martin Exp $ +# $NetBSD: maketars,v 1.100 2024/01/30 10:24:39 martin Exp $ # # Make release tar files for some or all lists. Usage: # maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir] @@ -199,9 +199,10 @@ for setname in ${lists}; do # because we depend on it as an input. else ${MTREE} -c -p "${dest}" -k all \ - -R "${skipkeys},set.${setname}" \ + -R "${skipkeys}" \ -N "${etcdir}" -O "${SDIR}/flist.${setname}" \ | ${MTREE} -C -k all -N "${etcdir}" \ + | ${SED} -e "s:^./etc/mtree/set.${setname}.*\$:./etc/mtree/set.${setname} type=file mode=0444:" \ > "${setlistdir}/set.${setname}" fi done