Module Name: src
Committed By: perry
Date: Thu Apr 2 18:06:54 UTC 2009
Modified Files:
src/distrib/sets: maketars
Log Message:
Clean up set files to make them consistent using mtree. Patch from lukem.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 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.64 src/distrib/sets/maketars:1.65
--- src/distrib/sets/maketars:1.64 Sun Mar 16 07:02:22 2008
+++ src/distrib/sets/maketars Thu Apr 2 18:06:54 2009
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: maketars,v 1.64 2008/03/16 07:02:22 lukem Exp $
+# $NetBSD: maketars,v 1.65 2009/04/02 18:06:54 perry Exp $
#
# Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
@@ -150,7 +150,8 @@
${AWK} -f "${rundir}/join.awk" \
"${SDIR}/flist.${setname}.full" "${metalog}"
echo "./etc/mtree/set.${setname} type=file mode=0444"
- ) > "${setlistdir}/set.${setname}"
+ ) | ${MTREE} -C -k all -R time -N "${etcdir}" \
+ > "${setlistdir}/set.${setname}"
# We deliberately do not add set.${setname} to ${metalog},
# because we depend on it as an input.
elif ! cmp -s "${SDIR}/flist.${setname}" \