When adding the directory ownership to the METALOG do it by name rather

than number as is done in install so as to differ binding of names to
ids.

Remove the -W flag from the mtree command so that the correct user and
group is recorded rather than the default.
This commit is contained in:
Brooks Davis 2013-01-30 17:39:43 +00:00
parent e465b973a1
commit 8caedc2a57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246127

View File

@ -348,9 +348,10 @@ distrib-dirs:
test "$$d" == "/" && d=""; \
d=${DISTBASE}$$d; \
shift; \
${ECHO} "${MTREE_CMD} -C -f $$m | sed s#^\.#.$$d# |" \
"${METALOG.add}" ; \
${MTREE_CMD} -C -f $$m | sed s#^\.#.$$d# | ${METALOG.add} ; \
${ECHO} "${MTREE_CMD:N-W} -C -f $$m -K uname,gname | " \
"sed s#^\.#.$$d# | ${METALOG.add}" ; \
${MTREE_CMD:N-W} -C -f $$m -K uname,gname | sed s#^\.#.$$d# | \
${METALOG.add} ; \
done; true
.endif
${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys