svn commit: r334617 - in head: . etc

Brad Davis brd at FreeBSD.org
Mon Jun 4 15:17:26 UTC 2018


Author: brd
Date: Mon Jun  4 15:17:24 2018
New Revision: 334617
URL: https://svnweb.freebsd.org/changeset/base/334617

Log:
  Move /sys symlink creating out of etc/Makefile.
  
  This is prep for etc/Makefile going away.
  
  Approved by:	bapt (mentor)

Modified:
  head/Makefile.inc1
  head/etc/Makefile

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Mon Jun  4 14:56:02 2018	(r334616)
+++ head/Makefile.inc1	Mon Jun  4 15:17:24 2018	(r334617)
@@ -1239,6 +1239,7 @@ distributeworld installworld stageworld: _installcheck
 	    METALOG=${METALOG} ${IMAKE_INSTALL} ${IMAKE_MTREE} \
 	    DISTBASE=/base DESTDIR=${DESTDIR}/${DISTDIR}/base \
 	    LOCAL_MTREE=${LOCAL_MTREE:Q} distrib-dirs
+	${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys
 .endif
 	${_+_}cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}; \
 	    ${IMAKEENV} rm -rf ${INSTALLTMP}

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Mon Jun  4 14:56:02 2018	(r334616)
+++ head/etc/Makefile	Mon Jun  4 15:17:24 2018	(r334617)
@@ -386,7 +386,6 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY
 		    ${METALOG.add} ; \
 	done; true
 .endif
-	${INSTALL_SYMLINK} usr/src/sys ${DESTDIR}/sys
 .if ${MK_NLS} != "no"
 	set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
 	while [ $$# -gt 0 ] ; do \


More information about the svn-src-all mailing list