svn commit: r246127 - head/etc
Brooks Davis
brooks at FreeBSD.org
Wed Jan 30 17:39:44 UTC 2013
Author: brooks
Date: Wed Jan 30 17:39:43 2013
New Revision: 246127
URL: http://svnweb.freebsd.org/changeset/base/246127
Log:
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.
Modified:
head/etc/Makefile
Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile Wed Jan 30 16:08:05 2013 (r246126)
+++ head/etc/Makefile Wed Jan 30 17:39:43 2013 (r246127)
@@ -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
More information about the svn-src-all
mailing list