1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Remove unneccessary call to mtree, which, when building as an unprivileged

user (with -DNO_ROOT), resulted in warnings looking like these:

share/man/cat8:
        user (9, 3819, not modified: Operation not permitted)
        permissions (0755, 0700, modified)

The BSD.usr.mk is already taken care of in etc/Makefile.

Submitted by:	Alex Richardson <alr48@cl.cam.ac.uk>
Reviewed by:	bdrewery
MFC after:	1 month
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D9212
This commit is contained in:
Edward Tomasz Napierala 2017-05-23 11:08:36 +00:00
parent 9e5e0e8850
commit edd4d70550
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318740

View File

@ -240,8 +240,6 @@ copies:
rm -f ${DESTDIR}${BINDIR}/$i; \
fi
.endfor
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
-f ${SRCTOP}/etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr
.for file in ${XFILES}
${INSTALL} -T package=${PACKAGE_${file}:Uexamples} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}