diff options
author | brooks <brooks@FreeBSD.org> | 2013-01-30 17:39:43 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-01-30 17:39:43 +0000 |
commit | 3e28301ce283fac4598377e876e6c9c8231a3c9a (patch) | |
tree | ddec549a23237891f1a6632f6a711536c980e8b8 | |
parent | 5fded8d7746ea67571b3e5ad0fb20bdf55bfec28 (diff) | |
download | FreeBSD-src-3e28301ce283fac4598377e876e6c9c8231a3c9a.zip FreeBSD-src-3e28301ce283fac4598377e876e6c9c8231a3c9a.tar.gz |
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.
-rw-r--r-- | etc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/Makefile b/etc/Makefile index dfa9953..81ef45a 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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 |