svn commit: r316218 - stable/10/sys/conf
Ngie Cooper
ngie at FreeBSD.org
Thu Mar 30 05:15:02 UTC 2017
Author: ngie
Date: Thu Mar 30 05:15:00 2017
New Revision: 316218
URL: https://svnweb.freebsd.org/changeset/base/316218
Log:
MFC r314372:
Use "build" instead of "all" when building ports modules
"all" in ports currently means "stage the ports", which requires root today,
and brings to light other potential issues, like ENAMETOOLONG with staged
directories (bug 161481, etc).
This fixes buildkernel for me when run as a non-root user, assuming all
of the prerequisites have been installed beforehand and are up-to-date.
Discussed with: swills (IRC)
Modified:
stable/10/sys/conf/kern.post.mk
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/conf/kern.post.mk
==============================================================================
--- stable/10/sys/conf/kern.post.mk Thu Mar 30 05:14:52 2017 (r316217)
+++ stable/10/sys/conf/kern.post.mk Thu Mar 30 05:15:00 2017 (r316218)
@@ -66,7 +66,7 @@ PORTSMODULESENV=\
all:
.for __i in ${PORTS_MODULES}
@${ECHO} "===> Ports module ${__i} (all)"
- cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B clean all
+ cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B clean build
.endfor
.for __target in install reinstall clean
More information about the svn-src-stable-10
mailing list