This fixes a bug where mtree would use names & IDs from the host system
instead of from the build.
This commit is contained in:
parent
9b566f7a87
commit
2dd9143774
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user