Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 17:39:43 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246127 - head/etc
Message-ID:  <201301301739.r0UHdiZK024603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301301739.r0UHdiZK024603>