Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.
This commit is contained in:
parent
263de9cd60
commit
d101bd6452
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107009
@ -343,6 +343,10 @@ rerelease release:
|
||||
if [ -f /etc/resolv.conf ]; then \
|
||||
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
|
||||
fi
|
||||
.if defined(EXTLOCALDIR)
|
||||
rm -rf ${CHROOTDIR}/usr/local
|
||||
cd ${CHROOTDIR}/usr && cp -R ${EXTLOCALDIR} local
|
||||
.endif
|
||||
rm -rf ${CHROOTDIR}/usr/src
|
||||
.if defined(EXTSRCDIR)
|
||||
cd ${CHROOTDIR}/usr && \
|
||||
|
Loading…
Reference in New Issue
Block a user