mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
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:
parent
e465b973a1
commit
8caedc2a57
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246127
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user