Move /sys symlink creating out of etc/Makefile.

This is prep for etc/Makefile going away.

Approved by:	bapt (mentor)
This commit is contained in:
Brad Davis 2018-06-04 15:17:24 +00:00
parent bcc51ef48d
commit 8dc84f09e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334617
2 changed files with 1 additions and 1 deletions

View File

@ -1239,6 +1239,7 @@ distributeworld installworld stageworld: _installcheck_world .PHONY
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}

View File

@ -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 \