Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets This fixes a bug where mtree would use names & ...



details:   https://anonhg.NetBSD.org/src/rev/70b71e9d225f
branches:  trunk
changeset: 821037:70b71e9d225f
user:      jklos <jklos%NetBSD.org@localhost>
date:      Sat Jan 21 19:37:46 2017 +0000

description:
This fixes a bug where mtree would use names & IDs from the host system
instead of from the build.

diffstat:

 distrib/sets/maketars |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 0f8c1dd791ca -r 70b71e9d225f distrib/sets/maketars
--- a/distrib/sets/maketars     Sat Jan 21 15:41:55 2017 +0000
+++ b/distrib/sets/maketars     Sat Jan 21 19:37:46 2017 +0000
@@ -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 @@
                # 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



Home | Main Index | Thread Index | Old Index