Module Name: src
Committed By: jklos
Date: Sat Jan 21 19:37:46 UTC 2017
Modified Files:
src/distrib/sets: maketars
Log Message:
This fixes a bug where mtree would use names & IDs from the host system
instead of from the build.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 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.85 src/distrib/sets/maketars:1.86
--- src/distrib/sets/maketars:1.85 Sat Dec 19 22:29:23 2015
+++ src/distrib/sets/maketars Sat Jan 21 19:37:46 2017
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: maketars,v 1.85 2015/12/19 22:29:23 christos Exp $
+# $NetBSD: maketars,v 1.86 2017/01/21 19:37:46 jklos Exp $
#
# Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
@@ -201,8 +201,9 @@ for setname in ${lists}; do
# because we depend on it as an input.
else
${MTREE} -c -p "${dest}" -k all -R "${skipkeys}" \
- -O "${SDIR}/flist.${setname}" | ${MTREE} -C -k all > \
- "${setlistdir}/set.${setname}"
+ -N "${etcdir}" -O "${SDIR}/flist.${setname}" \
+ | ${MTREE} -C -k all -N "${etcdir}" \
+ > "${setlistdir}/set.${setname}"
fi
done
if ${setfilesonly}; then # exit after creating the set lists