This fixes a bug where mtree would use names & IDs from the host system

instead of from the build.
This commit is contained in:
jklos 2017-01-21 19:37:46 +00:00
parent 9b566f7a87
commit 2dd9143774

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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: # Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir] # 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. # because we depend on it as an input.
else else
${MTREE} -c -p "${dest}" -k all -R "${skipkeys}" \ ${MTREE} -c -p "${dest}" -k all -R "${skipkeys}" \
-O "${SDIR}/flist.${setname}" | ${MTREE} -C -k all > \ -N "${etcdir}" -O "${SDIR}/flist.${setname}" \
"${setlistdir}/set.${setname}" | ${MTREE} -C -k all -N "${etcdir}" \
> "${setlistdir}/set.${setname}"
fi fi
done done
if ${setfilesonly}; then # exit after creating the set lists if ${setfilesonly}; then # exit after creating the set lists