Introduce NANOBSD_PRUNE which can be used to zap out bits we don't

want to carry forward.
This commit is contained in:
Poul-Henning Kamp 2005-04-13 21:20:16 +00:00
parent bdc9311ac7
commit 37d04bc5d9

View File

@ -162,6 +162,9 @@ _.md: _.cs
mtree -deU -f ${WD}/etc/mtree/BSD.include.dist -p ${WD}/usr/include
.if exists(${WD}/etc/mtree/BSD.sendmail.dist)
mtree -deU -f ${WD}/etc/mtree/BSD.sendmail.dist -p ${WD}/
.endif
.if defined(NANOBSD_PRUNE)
( cd ${WD} ; rm -rf ${NANOBSD_PRUNE} )
.endif
(cd ${WD} && mtree -c -Kmd5digest ) > _.mtree.tmp
sh -e ${.CURDIR}/i386.diskimage \