svn commit: r316217 - stable/11/sys/conf
Ngie Cooper
ngie at FreeBSD.org
Thu Mar 30 05:14:54 UTC 2017
Author: ngie
Date: Thu Mar 30 05:14:52 2017
New Revision: 316217
URL: https://svnweb.freebsd.org/changeset/base/316217
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/11/sys/conf/kern.post.mk
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/conf/kern.post.mk
==============================================================================
--- stable/11/sys/conf/kern.post.mk Thu Mar 30 05:13:52 2017 (r316216)
+++ stable/11/sys/conf/kern.post.mk Thu Mar 30 05:14:52 2017 (r316217)
@@ -79,7 +79,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
mailing list